diff options
author | Olivier Blin <oblin@mandriva.org> | 2004-09-02 07:30:49 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2004-09-02 07:30:49 +0000 |
commit | 48a30c18d52b1131c6a3fe9b0b2f1265d28501a5 (patch) | |
tree | 9976511afafde2a8fa025ff93b97f8a31226b82d /perl-install/fs/mount_options.pm | |
parent | 6b28ce130d4c6737ba8956edb3dfc0be2943805b (diff) | |
download | drakx-48a30c18d52b1131c6a3fe9b0b2f1265d28501a5.tar drakx-48a30c18d52b1131c6a3fe9b0b2f1265d28501a5.tar.gz drakx-48a30c18d52b1131c6a3fe9b0b2f1265d28501a5.tar.bz2 drakx-48a30c18d52b1131c6a3fe9b0b2f1265d28501a5.tar.xz drakx-48a30c18d52b1131c6a3fe9b0b2f1265d28501a5.zip |
set_default: use sync for removable devices
Diffstat (limited to 'perl-install/fs/mount_options.pm')
-rw-r--r-- | perl-install/fs/mount_options.pm | 1 |
1 files changed, 1 insertions, 0 deletions
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') { |