diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-03-02 09:38:36 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-03-02 09:38:36 +0000 |
commit | 322646ef055f316e0cc138add35c58316a4de863 (patch) | |
tree | cd239d32c993f24e7ce5fbfdaa710c38faed1e41 /sbin/mount/mount.c | |
parent | 68d0290aeb54cbe87344d09bcd43a705da6c5f31 (diff) |
Add noatime option to not update atime on files in a filesystem (unless
ctime or mtime has changed). Useful for laptops and news servers.
Diffstat (limited to 'sbin/mount/mount.c')
-rw-r--r-- | sbin/mount/mount.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/mount/mount.c b/sbin/mount/mount.c index 5f1465322fa..87ce9c4fbdf 100644 --- a/sbin/mount/mount.c +++ b/sbin/mount/mount.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mount.c,v 1.13 1997/01/15 23:41:15 millert Exp $ */ +/* $OpenBSD: mount.c,v 1.14 1997/03/02 09:38:28 millert Exp $ */ /* $NetBSD: mount.c,v 1.24 1995/11/18 03:34:29 cgd Exp $ */ /* @@ -44,7 +44,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)mount.c 8.19 (Berkeley) 4/19/94"; #else -static char rcsid[] = "$OpenBSD: mount.c,v 1.13 1997/01/15 23:41:15 millert Exp $"; +static char rcsid[] = "$OpenBSD: mount.c,v 1.14 1997/03/02 09:38:28 millert Exp $"; #endif #endif /* not lint */ @@ -93,6 +93,7 @@ static struct opt { { MNT_EXPORTANON, 1, "anon uid mapping" }, { MNT_EXRDONLY, 1, "exported read-only" }, { MNT_LOCAL, 0, "local" }, + { MNT_NOATIME, 0, "noatime" }, { MNT_NODEV, 0, "nodev" }, { MNT_NOEXEC, 0, "noexec" }, { MNT_NOSUID, 0, "nosuid" }, |