From 53933f59344c68298b3ec9e91291516b19d5aa26 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 31 Aug 2007 12:13:26 +0000 Subject: - do not set relatime option for mounting nfs (since relatime is not handled by mount for nfs) --- perl-install/fs/mount_options.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install/fs/mount_options.pm') diff --git a/perl-install/fs/mount_options.pm b/perl-install/fs/mount_options.pm index 5107649cc..3c8f1b283 100644 --- a/perl-install/fs/mount_options.pm +++ b/perl-install/fs/mount_options.pm @@ -41,7 +41,7 @@ sub unpack { $non_defaults->{$_} = 1 foreach @$l; } - $non_defaults->{relatime} = 1 if isTrueFS($part); + $non_defaults->{relatime} = 1 if isTrueLocalFS($part); $non_defaults->{encrypted} = 1; my $defaults = { reverse %$non_defaults }; @@ -201,7 +201,7 @@ sub set_default { $options->{flush} = 1; } - if (isTrueFS($part)) { + if (isTrueLocalFS($part)) { #- noatime on laptops (do not wake up the hd) #- otherwise relatime (wake up the hd less often / better performances) #- Do not update inode access times on this -- cgit v1.2.1