summaryrefslogtreecommitdiffstats
path: root/sbin/mount/mount.c
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1996-09-03 07:13:56 +0000
committerdg <dg@FreeBSD.org>1996-09-03 07:13:56 +0000
commit2b8eb49135acef777909d3179be9eee1bb7916d7 (patch)
tree2cb3520b06be8736a669422e68c54033893c39d2 /sbin/mount/mount.c
parent4aa33638eb33650fbc13c6c618f6c03ee02f487f (diff)
downloadFreeBSD-src-2b8eb49135acef777909d3179be9eee1bb7916d7.zip
FreeBSD-src-2b8eb49135acef777909d3179be9eee1bb7916d7.tar.gz
Implemented user side of "noatime" mount option. This option disables
the file access time update on reads and can be useful in reducing filesystem overhead in cases where the access time is not important (like Usenet news spools).
Diffstat (limited to 'sbin/mount/mount.c')
-rw-r--r--sbin/mount/mount.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/mount/mount.c b/sbin/mount/mount.c
index 286c2a0..5592a63 100644
--- a/sbin/mount/mount.c
+++ b/sbin/mount/mount.c
@@ -88,6 +88,7 @@ static struct opt {
{ MNT_ASYNC, "asynchronous" },
{ MNT_EXPORTED, "NFS exported" },
{ MNT_LOCAL, "local" },
+ { MNT_NOATIME, "noatime" },
{ MNT_NODEV, "nodev" },
{ MNT_NOEXEC, "noexec" },
{ MNT_NOSUID, "nosuid" },
OpenPOWER on IntegriCloud