diff options
author | Grigoriy Orlov <gluk@cvs.openbsd.org> | 2001-04-04 20:19:05 +0000 |
---|---|---|
committer | Grigoriy Orlov <gluk@cvs.openbsd.org> | 2001-04-04 20:19:05 +0000 |
commit | 5f0b8bc5940f501a5f097fbdaf785a597274dd29 (patch) | |
tree | 16aea2e6c2b721c50395db26d64c3b33645348f8 /sbin | |
parent | 6d8e6e23755f00f6e9ca3de72b46523ec978316a (diff) |
Add "softdep" option to mount. Update from rw/async to softdep
and otherwise are disabled.
art@ ok.
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/mount/mntopts.h | 3 | ||||
-rw-r--r-- | sbin/mount_ffs/mount_ffs.c | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/sbin/mount/mntopts.h b/sbin/mount/mntopts.h index 832ef6e74ad..890fde93e0a 100644 --- a/sbin/mount/mntopts.h +++ b/sbin/mount/mntopts.h @@ -1,4 +1,4 @@ -/* $OpenBSD: mntopts.h,v 1.6 2000/06/17 18:27:07 niklas Exp $ */ +/* $OpenBSD: mntopts.h,v 1.7 2001/04/04 20:19:00 gluk Exp $ */ /* $NetBSD: mntopts.h,v 1.3 1995/03/18 14:56:59 cgd Exp $ */ /*- @@ -54,6 +54,7 @@ struct mntopt { #define MOPT_UNION { "union", 0, MNT_UNION } #define MOPT_USERQUOTA { "userquota", 0, 0 } #define MOPT_GROUPQUOTA { "groupquota", 0, 0 } +#define MOPT_SOFTDEP { "softdep", 0, MNT_SOFTDEP } /* Control flags. */ #define MOPT_FORCE { "force", 0, MNT_FORCE } diff --git a/sbin/mount_ffs/mount_ffs.c b/sbin/mount_ffs/mount_ffs.c index bec6c0cef61..7e4d88dd532 100644 --- a/sbin/mount_ffs/mount_ffs.c +++ b/sbin/mount_ffs/mount_ffs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mount_ffs.c,v 1.10 2000/06/17 20:23:24 niklas Exp $ */ +/* $OpenBSD: mount_ffs.c,v 1.11 2001/04/04 20:19:01 gluk Exp $ */ /* $NetBSD: mount_ffs.c,v 1.3 1996/04/13 01:31:19 jtc Exp $ */ /*- @@ -44,7 +44,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)mount_ufs.c 8.2 (Berkeley) 3/27/94"; #else -static char rcsid[] = "$OpenBSD: mount_ffs.c,v 1.10 2000/06/17 20:23:24 niklas Exp $"; +static char rcsid[] = "$OpenBSD: mount_ffs.c,v 1.11 2001/04/04 20:19:01 gluk Exp $"; #endif #endif /* not lint */ @@ -69,6 +69,7 @@ static const struct mntopt mopts[] = { MOPT_UPDATE, MOPT_RELOAD, MOPT_FORCE, + MOPT_SOFTDEP, { NULL } }; |