diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-08-14 08:48:07 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-08-14 08:48:07 +0000 |
commit | a7dfda646a1f7e0e09c2c1f6eafde2f71b5a87b1 (patch) | |
tree | deac5a4fc97430abbcc8bea131c537294ed206da /perl-install/fs | |
parent | a1bd1b8309287c0165dcca192c99d41a0173e92e (diff) | |
download | drakx-a7dfda646a1f7e0e09c2c1f6eafde2f71b5a87b1.tar drakx-a7dfda646a1f7e0e09c2c1f6eafde2f71b5a87b1.tar.gz drakx-a7dfda646a1f7e0e09c2c1f6eafde2f71b5a87b1.tar.bz2 drakx-a7dfda646a1f7e0e09c2c1f6eafde2f71b5a87b1.tar.xz drakx-a7dfda646a1f7e0e09c2c1f6eafde2f71b5a87b1.zip |
(set_default) default all machines to 'relatime' mount option
Diffstat (limited to 'perl-install/fs')
-rw-r--r-- | perl-install/fs/mount_options.pm | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/perl-install/fs/mount_options.pm b/perl-install/fs/mount_options.pm index 759610304..3e692cea5 100644 --- a/perl-install/fs/mount_options.pm +++ b/perl-install/fs/mount_options.pm @@ -198,13 +198,12 @@ sub set_default { $options->{flush} = 1; } - if (isTrueFS($part)) { - #- relatime on laptops (do not wake up the hd) + #- relatime (wake up the hd less often / better performances) #- Do not update inode access times on this #- file system (e.g, for faster access on the #- news spool to speed up news servers). - $options->{relatime} = detect_devices::isLaptop(); - } + $options->{relatime} = isTrueFS($part); + if ($part->{fs_type} eq 'nfs') { put_in_hash($options, { nosuid => 1, 'rsize=8192,wsize=8192' => 1, soft => 1, |