diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-11-21 12:52:50 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-11-21 12:52:50 +0000 |
commit | 0e62fccb44b1885799aed14cb60176eaf787af77 (patch) | |
tree | dfa007fd5cc7cc6a62456368530bf79b6ff73dba /perl-install/fs/mount_options.pm | |
parent | 62dda0915afa2eb3a8de8e801cd1ef3ecdf4c69e (diff) | |
download | drakx-0e62fccb44b1885799aed14cb60176eaf787af77.tar drakx-0e62fccb44b1885799aed14cb60176eaf787af77.tar.gz drakx-0e62fccb44b1885799aed14cb60176eaf787af77.tar.bz2 drakx-0e62fccb44b1885799aed14cb60176eaf787af77.tar.xz drakx-0e62fccb44b1885799aed14cb60176eaf787af77.zip |
add install cmdline option "force_atime"
(to use when installing distros <= 2007.1 where relatime is unknown)
Diffstat (limited to 'perl-install/fs/mount_options.pm')
-rw-r--r-- | perl-install/fs/mount_options.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs/mount_options.pm b/perl-install/fs/mount_options.pm index 57ec4d47f..3cd796d64 100644 --- a/perl-install/fs/mount_options.pm +++ b/perl-install/fs/mount_options.pm @@ -209,7 +209,7 @@ sub set_default { #- file system (e.g, for faster access on the #- news spool to speed up news servers). $options->{relatime} = $options->{noatime} = 0; - $options->{detect_devices::isLaptop() ? 'noatime': 'relatime'} = 1; + $options->{detect_devices::isLaptop() ? 'noatime': 'relatime'} = 1 if !$opts{force_atime}; } if ($part->{fs_type} eq 'nfs') { put_in_hash($options, { |