summaryrefslogtreecommitdiffstats
path: root/perl-install/fs
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 /perl-install/fs
parent9828c112d21355df292af21b6065eba36a1d8fee (diff)
downloaddrakx-backup-do-not-use-53933f59344c68298b3ec9e91291516b19d5aa26.tar
drakx-backup-do-not-use-53933f59344c68298b3ec9e91291516b19d5aa26.tar.gz
drakx-backup-do-not-use-53933f59344c68298b3ec9e91291516b19d5aa26.tar.bz2
drakx-backup-do-not-use-53933f59344c68298b3ec9e91291516b19d5aa26.tar.xz
drakx-backup-do-not-use-53933f59344c68298b3ec9e91291516b19d5aa26.zip
- do not set relatime option for mounting nfs
(since relatime is not handled by mount for nfs)
Diffstat (limited to 'perl-install/fs')
-rw-r--r--perl-install/fs/mount_options.pm4
1 files changed, 2 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