From d903728c5a57cdd87617fbfd84ef9cdf7ed96fba Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Tue, 6 Jul 2010 10:38:50 -0700 Subject: Don't need explict sync in init-floppy The sync call was added to try and workaround floppy bug, but it didn't do anything so remove it. File is already saved with fsync. --- scripts/init-floppy | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/init-floppy b/scripts/init-floppy index a3f29c11..1685a464 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,dirsync,noatime,noexec,nosuid,nodev &>/dev/null || \ +/bin/mount /dev/fd0 $fd -t ext2 -o sync,noatime,noexec,nosuid,nodev &>/dev/null || \ failure "$mount___error" /bin/mkdir $fd/config @@ -98,7 +98,6 @@ echo "$mount__notice" echo "$config_notice" ${vyatta_sbindir}/vyatta-save-config.pl $fd/config/config.boot &>/dev/null || \ failure "$config__error" -/bin/sync echo "$bind___notice" /bin/mount -o bind $fd/config ${vyatta_sysconfdir}/config &>/dev/null || \ -- cgit v1.2.3