From 16589d408016879177d50c634db487e7454bed84 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Sat, 22 Sep 2001 18:19:59 +0000 Subject: - cleanup noatime option setting - cleanup exec option setting (must noexec => 0 instead of exec => 1) --- perl-install/fs.pm | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'perl-install/fs.pm') diff --git a/perl-install/fs.pm b/perl-install/fs.pm index fcf933adf..8fb7d4896 100644 --- a/perl-install/fs.pm +++ b/perl-install/fs.pm @@ -334,6 +334,13 @@ sub set_default_options { $options->{sync} = 1; } + if (isTrueFS($part)) { + #- noatime on laptops (do not wake up the hd) + #- 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->{noatime} = detect_devices::isLaptop(); + } if (isNfs($part)) { put_in_hash($options, { nosuid => 1, 'rsize=8192,wsize=8192' => 1, @@ -342,7 +349,7 @@ sub set_default_options { if (isFat($part) || $is_auto) { put_in_hash($options, { - user => 1, exec => 1, + user => 1, noexec => 0, }) if !exists $part->{rootDevice}; # partition means no removable media put_in_hash($options, { @@ -353,7 +360,7 @@ sub set_default_options { put_in_hash($options, { 'iocharset=' => $iocharset }); } if (isThisFs('iso9660', $part) || $is_auto) { - put_in_hash($options, { user => 1, exec => 1, }); + put_in_hash($options, { user => 1, noexec => 0, }); } if (isThisFs('reiserfs', $part)) { $options->{notail} = 1; -- cgit v1.2.1