diff --git a/mount/help/linux_noatime.html b/mount/help/linux_noatime.html
new file mode 100644
index 000000000..fc74037c7
--- /dev/null
+++ b/mount/help/linux_noatime.html
@@ -0,0 +1,9 @@
+Avoid updating last access times?
+
+By default, whenever a file is read Linux will update it's last
+access time. Since this information is rarely used and can be
+expensive to store, changing to option to Yes will turn
+off recording this access time.
+
+
+
diff --git a/mount/linux-lib.pl b/mount/linux-lib.pl
index dbfb58b42..2c2488568 100755
--- a/mount/linux-lib.pl
+++ b/mount/linux-lib.pl
@@ -1179,6 +1179,14 @@ if ($_[0] ne "swap" && $_[0] ne "auto" &&
defined($options{"user"}) ? "checked" : "";
printf " $text{'no'} \n",
defined($options{"user"}) ? "" : "checked";
+
+ print "", &hlink("$text{'linux_noatime'} ", "linux_noatime"), " \n";
+ printf " %s\n",
+ defined($options{"noatime"}) ? "checked" : "", $text{'yes'};
+ printf " %s \n",
+ defined($options{"noatime"}) ? "" : "checked", $text{'no'};
+
+ print "\n";
}
if ($_[0] =~ /^ext\d+$/) {
@@ -1254,12 +1262,6 @@ if ($_[0] =~ /^ext\d+$/) {
printf " \n",
defined($options{"resgid"}) ? getgrgid($options{"resgid"}) : "";
print &group_chooser_button("ext2_resgid", 0)," \n";
-
- print " $text{'linux_noatime'} \n";
- printf " %s\n",
- defined($options{"noatime"}) ? "checked" : "", $text{'yes'};
- printf " %s \n",
- defined($options{"noatime"}) ? "" : "checked", $text{'no'};
}
elsif (($_[0] eq "nfs") || ($_[0] eq "nfs4")) {
# Linux nfs has some more options...
@@ -1928,6 +1930,9 @@ if ($_[0] ne "swap" && $_[0] ne "auto" &&
delete($options{"user"}); delete($options{"nouser"});
if ($in{lnx_user}) { $options{"user"} = ""; }
+
+ delete($options{"noatime"});
+ $options{"noatime"} = "" if ($in{'lnx_noatime'});
}
if (($_[0] eq "nfs") || ($_[0] eq "nfs4")) {
@@ -2006,9 +2011,6 @@ elsif ($_[0] =~ /^ext\d+$/) {
elsif ($in{'ext2_quota'} == 2) { $options{'grpquota'} = ""; }
elsif ($in{'ext2_quota'} == 3)
{ $options{'usrquota'} = $options{'grpquota'} = ""; }
-
- delete($options{"noatime"});
- $options{"noatime"} = "" if ($in{'ext2_noatime'});
}
elsif ($_[0] eq "fat" || $_[0] eq "vfat" ||
$_[0] eq "msdos" || $_[0] eq "umsdos" || $_[0] eq "fatx") {