From 48a30c18d52b1131c6a3fe9b0b2f1265d28501a5 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Thu, 2 Sep 2004 07:30:49 +0000 Subject: set_default: use sync for removable devices --- perl-install/fs/mount_options.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'perl-install') diff --git a/perl-install/fs/mount_options.pm b/perl-install/fs/mount_options.pm index 66d434d0e..dd9dfc93b 100644 --- a/perl-install/fs/mount_options.pm +++ b/perl-install/fs/mount_options.pm @@ -168,6 +168,7 @@ sub set_default { $options->{supermount} = $opts{useSupermount} && !($opts{useSupermount} eq 'magicdev' && $part->{media_type} eq 'cdrom'); $part->{fs_type} = !$options->{supermount} ? 'auto' : $part->{media_type} eq 'cdrom' ? 'udf:iso9660' : 'ext2:vfat'; + $options->{sync} = 1 if $part->{media_type} ne 'cdrom'; } if ($part->{media_type} eq 'cdrom') { -- cgit v1.2.1