diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-08-31 12:13:26 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-08-31 12:13:26 +0000 |
commit | 53933f59344c68298b3ec9e91291516b19d5aa26 (patch) | |
tree | 9950764bce9f57d08dffa47e2d1c1c402c863727 /perl-install/fs/mount_options.pm | |
parent | 9828c112d21355df292af21b6065eba36a1d8fee (diff) | |
download | drakx-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)
Diffstat (limited to 'perl-install/fs/mount_options.pm')
-rw-r--r-- | perl-install/fs/mount_options.pm | 4 |
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 |