Enable and document the -o softdep option.

This commit is contained in:
fvdl 2000-06-15 22:36:07 +00:00
parent 4f11634756
commit 5422b85358
2 changed files with 15 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: mntopts.h,v 1.8 1998/12/01 23:20:43 kenh Exp $ */
/* $NetBSD: mntopts.h,v 1.9 2000/06/15 22:36:07 fvdl Exp $ */
/*-
* Copyright (c) 1994
@ -56,6 +56,7 @@ struct mntopt {
#define MOPT_GROUPQUOTA { "groupquota", 0, 0, 0 }
#define MOPT_NOATIME { "atime", 1, MNT_NOATIME, 0 }
#define MOPT_SYMPERM { "symperm", 0, MNT_SYMPERM, 0 }
#define MOPT_SOFTDEP { "softdep", 0, MNT_SOFTDEP, 0 }
/* Control flags. */
#define MOPT_FORCE { "force", 1, MNT_FORCE, 0 }

View File

@ -1,4 +1,4 @@
.\" $NetBSD: mount.8,v 1.25 1999/08/08 04:40:18 jdolecek Exp $
.\" $NetBSD: mount.8,v 1.26 2000/06/15 22:36:07 fvdl Exp $
.\"
.\" Copyright (c) 1980, 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -169,6 +169,18 @@ Do not allow set-user-identifier or set-group-identifier bits to take effect.
The same as
.Fl r ;
mount the file system read-only (even the super-user may not write it).
.It Cm softdep
(FFS only) Mount the filesystem using soft-dependencies. This means that
metadata will not be written immediately, but is written in an ordered fashion
to keep the on-disk state of the filesystem consistent. This results
in significant speedups for file create/delete operations. This option
will be ignored when using the
.Fl u
flag and a filesystem is already mounted read/write. This option has gone
through moderate to heavy testing, but should still be used with care.
It requires the
.Dv SOFTDEP
option to be enabled in the running kernel.
.It Cm symperm
Recognize permission of symbolic link when reading or traversing link.
.It Cm sync