From 0e62fccb44b1885799aed14cb60176eaf787af77 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 21 Nov 2007 12:52:50 +0000 Subject: add install cmdline option "force_atime" (to use when installing distros <= 2007.1 where relatime is unknown) --- perl-install/fs/mount_options.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/fs') 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, { -- cgit v1.2.1