From 25d6973684ab648ebc67e2573193019de22079aa Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Wed, 18 Nov 2009 09:47:34 -0800 Subject: Mount floppy with dirsync Ensures that directory update occurs before umount --- scripts/init-floppy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/init-floppy') 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 -- cgit v1.2.3