[prev in list] [next in list] [prev in thread] [next in thread] 

List:       voyage-linux
Subject:    [Voyage-linux] [PATCH 3/4] copyfiles.sh: add sync - may not be needed/useful
From:       Jim Cromie <jim.cromie () gmail ! com>
Date:       2012-09-22 17:19:17
Message-ID: 1348334358-23093-4-git-send-email-jim.cromie () gmail ! com
[Download RAW message or body]

add a sync near end of copyfiles.  This should be harmless.  Its not
clear that its entirely helpful however, at least on machines using
udev & udisks; to get the CF slot's LED to turn off, I have to unmount
using the GUI, at which point I get a popup saying effectively
"writing data to device".

Signed-off-by: Jim Cromie <jim.cromie@gmail.com>
---
 usr/local/sbin/copyfiles.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/usr/local/sbin/copyfiles.sh b/usr/local/sbin/copyfiles.sh
index b8e73b7..9c039e6 100755
--- a/usr/local/sbin/copyfiles.sh
+++ b/usr/local/sbin/copyfiles.sh
@@ -101,5 +101,6 @@ reconfig_resolvconf "$TARGET_MOUNT"
 update_hosts "$TARGET_MOUNT"
 ${EXECDIR}/setboot.sh
 write_config "$TARGET_MOUNT/etc/voyage.conf" "$VOYAGE_CONF_LIST"
+sync
 umount $TARGET_MOUNT
 echo "copyfiles.sh script completed" >&2
-- 
1.7.11.4


_______________________________________________
Voyage-linux mailing list
Voyage-linux@list.voyage.hk
http://list.voyage.hk/mailman/listinfo/voyage-linux
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic