-/* $OpenBSD: mntopts.h,v 1.4 1997/03/09 19:27:59 millert Exp $ */
+/* $OpenBSD: mntopts.h,v 1.5 1997/03/10 04:27:41 millert Exp $ */
/* $NetBSD: mntopts.h,v 1.3 1995/03/18 14:56:59 cgd Exp $ */
/*-
/* User-visible MNT_ flags. */
#define MOPT_ASYNC { "async", 0, MNT_ASYNC }
-#define MOPT_NOATIME { "accesstime", 1, MNT_NOATIME }
+#define MOPT_NOACCESSTIME { "accesstime", 1, MNT_NOATIME }
+#define MOPT_NOATIME { "atime", 1, MNT_NOATIME }
#define MOPT_NODEV { "dev", 1, MNT_NODEV }
#define MOPT_NOEXEC { "exec", 1, MNT_NOEXEC }
#define MOPT_NOSUID { "suid", 1, MNT_NOSUID }
MOPT_USERQUOTA, \
MOPT_GROUPQUOTA, \
MOPT_FSTAB_COMPAT, \
+ MOPT_NOACCESSTIME, \
MOPT_NOATIME, \
MOPT_NODEV, \
MOPT_NOEXEC, \
-.\" $OpenBSD: mount.8,v 1.4 1997/03/09 19:28:01 millert Exp $
+.\" $OpenBSD: mount.8,v 1.5 1997/03/10 04:27:41 millert Exp $
.\" $NetBSD: mount.8,v 1.11 1995/07/12 06:23:21 cgd Exp $
.\"
.\" Copyright (c) 1980, 1989, 1991, 1993
.Fl f ;
forces the revocation of write access when trying to downgrade
a filesystem mount status from read-write to read-only.
-.It noaccesstime
+.It noatime
Do not update atime on files in the system unless the mtime or ctime
is being changed as well.
This option is useful for laptops and news servers where one does
not want the extra disk activity associated with updating the atime.
+.It noaccesstime
+Synonym for noatime provided for compatibility with
+other OS's.
.It nodev
Do not interpret character or block special devices on the file system.
This option is useful for a server that has file systems containing
-/* $OpenBSD: mount.c,v 1.15 1997/03/09 19:28:01 millert Exp $ */
+/* $OpenBSD: mount.c,v 1.16 1997/03/10 04:27:42 millert Exp $ */
/* $NetBSD: mount.c,v 1.24 1995/11/18 03:34:29 cgd Exp $ */
/*
#if 0
static char sccsid[] = "@(#)mount.c 8.19 (Berkeley) 4/19/94";
#else
-static char rcsid[] = "$OpenBSD: mount.c,v 1.15 1997/03/09 19:28:01 millert Exp $";
+static char rcsid[] = "$OpenBSD: mount.c,v 1.16 1997/03/10 04:27:42 millert Exp $";
#endif
#endif /* not lint */
{ MNT_EXPORTANON, 1, "anon uid mapping" },
{ MNT_EXRDONLY, 1, "exported read-only" },
{ MNT_LOCAL, 0, "local" },
+ { MNT_NOATIME, 0, "noatime" },
{ MNT_NOATIME, 0, "noaccesstime" },
{ MNT_NODEV, 0, "nodev" },
{ MNT_NOEXEC, 0, "noexec" },