summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-01-02 18:15:18 +0000
committerOlivier Blin <oblin@mandriva.com>2008-01-02 18:15:18 +0000
commit12ab9d6b03cfe4c5adeed6fb6bfba8c695f6c6a6 (patch)
tree1b8b337671c442876fa7c83a95f3ca1b55e5837b /perl-install
parent92baa7aea16627df7987d1e951544bb99068a7fb (diff)
downloaddrakx-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')
-rw-r--r--perl-install/NEWS2
-rwxr-xr-xperl-install/standalone/drakupdate_fstab5
2 files changed, 3 insertions, 4 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index c7b675678..62f9309d4 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -4,6 +4,8 @@
o mark the service as interactive, so that package requests are
displayed with parallell init
o check that media are not USB keys before auto-configuring them (#34568)
+- drakupdate_fstab:
+ o never set "sync" option, use default fs options from drakx (#35204)
- drakbug:
o report crash messages in the bug report only when --incident is used
(and not when tools explicitely run drakbug with --report)
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]);