diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-01-02 18:15:18 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-01-02 18:15:18 +0000 |
commit | 12ab9d6b03cfe4c5adeed6fb6bfba8c695f6c6a6 (patch) | |
tree | 1b8b337671c442876fa7c83a95f3ca1b55e5837b /perl-install/standalone/drakupdate_fstab | |
parent | 92baa7aea16627df7987d1e951544bb99068a7fb (diff) | |
download | drakx-12ab9d6b03cfe4c5adeed6fb6bfba8c695f6c6a6.tar drakx-12ab9d6b03cfe4c5adeed6fb6bfba8c695f6c6a6.tar.gz drakx-12ab9d6b03cfe4c5adeed6fb6bfba8c695f6c6a6.tar.bz2 drakx-12ab9d6b03cfe4c5adeed6fb6bfba8c695f6c6a6.tar.xz drakx-12ab9d6b03cfe4c5adeed6fb6bfba8c695f6c6a6.zip |
never set "sync" option, use default fs options from drakx (#35204)
Diffstat (limited to 'perl-install/standalone/drakupdate_fstab')
-rwxr-xr-x | perl-install/standalone/drakupdate_fstab | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/perl-install/standalone/drakupdate_fstab b/perl-install/standalone/drakupdate_fstab index 62db7b691..926374f13 100755 --- a/perl-install/standalone/drakupdate_fstab +++ b/perl-install/standalone/drakupdate_fstab @@ -79,7 +79,7 @@ sub device_name_to_entry { } sub set_options { - my ($part, $o_sync) = @_; + my ($part) = @_; $part->{is_removable} = 1; #- force removable flag fs::mount_options::set_default($part, @@ -87,7 +87,6 @@ sub set_options { lang::fs_options(lang::read())); my ($options, $unknown) = fs::mount_options::unpack($part); - $options->{sync} = $o_sync if defined($o_sync); $options->{kudzu} = 1 if !$no_flag; fs::mount_options::pack($part, $options, $unknown); } @@ -143,8 +142,6 @@ sub configure_part { print STDERR "Already in fstab\n" if $::testing; return; } - my %dynamic = getVarsFromSh('/etc/sysconfig/dynamic'); - set_options($part, to_bool($dynamic{SYNC} ne 'no')); set_mount_point($part, $fstab, $is_hd) or return; my ($line) = fs::prepare_write_fstab([$part]); |