summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-08-28 08:54:28 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-08-28 08:54:28 +0000
commitbaf626f88ee276e1c6cc25a3be2c1aad4b9636af (patch)
tree06db79aefefd096dbb26e5641cb6e491be41a059
parent9086ea7cd235fab9be56583c486b8d8387dcf3e3 (diff)
downloaddrakx-baf626f88ee276e1c6cc25a3be2c1aad4b9636af.tar
drakx-baf626f88ee276e1c6cc25a3be2c1aad4b9636af.tar.gz
drakx-baf626f88ee276e1c6cc25a3be2c1aad4b9636af.tar.bz2
drakx-baf626f88ee276e1c6cc25a3be2c1aad4b9636af.tar.xz
drakx-baf626f88ee276e1c6cc25a3be2c1aad4b9636af.zip
ensure we have only one of { noatime, relatime }
-rw-r--r--perl-install/fs/mount_options.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/fs/mount_options.pm b/perl-install/fs/mount_options.pm
index 8c88607bf..5107649cc 100644
--- a/perl-install/fs/mount_options.pm
+++ b/perl-install/fs/mount_options.pm
@@ -207,6 +207,7 @@ sub set_default {
#- Do not update inode access times on this
#- 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;
}
if ($part->{fs_type} eq 'nfs') {