From a7dfda646a1f7e0e09c2c1f6eafde2f71b5a87b1 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 14 Aug 2007 08:48:07 +0000 Subject: (set_default) default all machines to 'relatime' mount option --- perl-install/fs/mount_options.pm | 7 +++---- perl-install/install/NEWS | 1 + 2 files changed, 4 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, diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index bf8662161..af8b64ae7 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,6 +1,7 @@ - diskdrake: o add support for 'relatime' mount option o default laptops to 'relatime' mount option rather than 'noatime' + o default all machines to 'relatime' mount option o kill support for 'nodiratime' mount option Version 10.4.168 - 13 August 2007, by Pascal "Pixel" Rigaux -- cgit v1.2.1