summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-11-18 09:47:34 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-11-18 09:47:34 -0800
commit25d6973684ab648ebc67e2573193019de22079aa (patch)
treeb7315b2a881e116f9a41e7f1ca6e70291db889d6 /scripts
parent475b850f7bf8fd52af0e50db152cf4b1247b1a64 (diff)
downloadvyatta-cfg-system-25d6973684ab648ebc67e2573193019de22079aa.tar.gz
vyatta-cfg-system-25d6973684ab648ebc67e2573193019de22079aa.zip
Mount floppy with dirsync
Ensures that directory update occurs before umount
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/init-floppy2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/init-floppy b/scripts/init-floppy
index 1685a464..b18ae1fc 100755
--- a/scripts/init-floppy
+++ b/scripts/init-floppy
@@ -89,7 +89,7 @@ echo "$create_notice"
failure "$create__error"
echo "$mount__notice"
-/bin/mount /dev/fd0 $fd -t ext2 -o sync,noatime,noexec,nosuid,nodev &>/dev/null || \
+/bin/mount /dev/fd0 $fd -t ext2 -o sync,dirsync,noatime,noexec,nosuid,nodev &>/dev/null || \
failure "$mount___error"
/bin/mkdir $fd/config