summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-08-31 12:13:26 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-08-31 12:13:26 +0000
commit53933f59344c68298b3ec9e91291516b19d5aa26 (patch)
tree9950764bce9f57d08dffa47e2d1c1c402c863727
parent9828c112d21355df292af21b6065eba36a1d8fee (diff)
downloaddrakx-53933f59344c68298b3ec9e91291516b19d5aa26.tar
drakx-53933f59344c68298b3ec9e91291516b19d5aa26.tar.gz
drakx-53933f59344c68298b3ec9e91291516b19d5aa26.tar.bz2
drakx-53933f59344c68298b3ec9e91291516b19d5aa26.tar.xz
drakx-53933f59344c68298b3ec9e91291516b19d5aa26.zip
- do not set relatime option for mounting nfs
(since relatime is not handled by mount for nfs)
-rw-r--r--perl-install/fs/mount_options.pm4
-rw-r--r--perl-install/install/NEWS2
2 files changed, 4 insertions, 2 deletions
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
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 2b511fee6..8caf033f7 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,5 @@
+- do not set relatime option for mounting nfs
+
Version 10.4.183 - 31 August 2007, by Pascal "Pixel" Rigaux
- add new step "choose desktop", before or hiding "choose groups"