summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1996-11-24 23:46:44 +0000
committermillert <millert@openbsd.org>1996-11-24 23:46:44 +0000
commit5b76cadbabd32ff2d1e89acf73e6f2dce34c3c2e (patch)
tree4d41f81a1229da287002c63f4d5a21fe417c40ae
parentAdd recognition for remaining mount flags (from <sys/mount.h>) (diff)
downloadwireguard-openbsd-5b76cadbabd32ff2d1e89acf73e6f2dce34c3c2e.tar.xz
wireguard-openbsd-5b76cadbabd32ff2d1e89acf73e6f2dce34c3c2e.zip
Add MOPT_UPDATE to mount options since there is filesystem
support for it. From NetBSD (cgd).
-rw-r--r--sbin/mount_msdos/mount_msdos.c7
-rw-r--r--sbin/newfs/newfs.c5
2 files changed, 7 insertions, 5 deletions
diff --git a/sbin/mount_msdos/mount_msdos.c b/sbin/mount_msdos/mount_msdos.c
index e7a701850cb..44d3ca3f92e 100644
--- a/sbin/mount_msdos/mount_msdos.c
+++ b/sbin/mount_msdos/mount_msdos.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: mount_msdos.c,v 1.5 1996/06/23 14:31:27 deraadt Exp $ */
-/* $NetBSD: mount_msdos.c,v 1.14 1996/04/13 05:35:47 cgd Exp $ */
+/* $OpenBSD: mount_msdos.c,v 1.6 1996/11/24 23:46:46 millert Exp $ */
+/* $NetBSD: mount_msdos.c,v 1.16 1996/10/24 00:12:50 cgd Exp $ */
/*
* Copyright (c) 1994 Christopher G. Demetriou
@@ -32,7 +32,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: mount_msdos.c,v 1.5 1996/06/23 14:31:27 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: mount_msdos.c,v 1.6 1996/11/24 23:46:46 millert Exp $";
#endif /* not lint */
#include <sys/cdefs.h>
@@ -52,6 +52,7 @@ static char rcsid[] = "$OpenBSD: mount_msdos.c,v 1.5 1996/06/23 14:31:27 deraadt
const struct mntopt mopts[] = {
MOPT_STDOPTS,
+ MOPT_UPDATE,
{ NULL }
};
diff --git a/sbin/newfs/newfs.c b/sbin/newfs/newfs.c
index 6755756e3c4..05b24156e2d 100644
--- a/sbin/newfs/newfs.c
+++ b/sbin/newfs/newfs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: newfs.c,v 1.4 1996/10/27 20:55:05 downsj Exp $ */
+/* $OpenBSD: newfs.c,v 1.5 1996/11/24 23:46:44 millert Exp $ */
/* $NetBSD: newfs.c,v 1.20 1996/05/16 07:13:03 thorpej Exp $ */
/*
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)newfs.c 8.8 (Berkeley) 4/18/94";
#else
-static char rcsid[] = "$OpenBSD: newfs.c,v 1.4 1996/10/27 20:55:05 downsj Exp $";
+static char rcsid[] = "$OpenBSD: newfs.c,v 1.5 1996/11/24 23:46:44 millert Exp $";
#endif
#endif /* not lint */
@@ -83,6 +83,7 @@ static char rcsid[] = "$OpenBSD: newfs.c,v 1.4 1996/10/27 20:55:05 downsj Exp $"
struct mntopt mopts[] = {
MOPT_STDOPTS,
MOPT_ASYNC,
+ MOPT_UPDATE,
{ NULL },
};