summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorkeramida <keramida@FreeBSD.org>2005-01-07 11:45:11 +0000
committerkeramida <keramida@FreeBSD.org>2005-01-07 11:45:11 +0000
commitf1fcad746fed9b38cb0fa47fb53f6ed5e100f853 (patch)
treedcebb562949186a4178fe6571db79764ac51da2a /share
parentf0899638bae6162b1a1164b50dd3963c5db93733 (diff)
downloadFreeBSD-src-f1fcad746fed9b38cb0fa47fb53f6ed5e100f853.zip
FreeBSD-src-f1fcad746fed9b38cb0fa47fb53f6ed5e100f853.tar.gz
Move the description of MNT_FORCE closer to mntflags and use a .Bl
list for the valid flag values. This way, if VFS_UNMOUNT(9) supports more flags in the future, adding a single list item is going to be easy and all the flags are going to be in one place.
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/VFS_UNMOUNT.921
1 files changed, 13 insertions, 8 deletions
diff --git a/share/man/man9/VFS_UNMOUNT.9 b/share/man/man9/VFS_UNMOUNT.9
index ee5f9b7..1face49 100644
--- a/share/man/man9/VFS_UNMOUNT.9
+++ b/share/man/man9/VFS_UNMOUNT.9
@@ -28,7 +28,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd July 24, 1996
+.Dd January 7, 2005
.Os
.Dt VFS_UNMOUNT 9
.Sh NAME
@@ -41,21 +41,26 @@
.Ft int
.Fn VFS_UNMOUNT "struct mount *mp" "int mntflags" "struct thread *td"
.Sh DESCRIPTION
-Unmount a file system.
+The
+.Fn VFS_UNMOUNT
+macro unmounts a file system.
.Pp
-Its arguments are:
+The arguments it expects are:
.Bl -tag -width mntflags
.It Fa mp
The file system.
.It Fa mntflags
-Various flags.
+Bit-mask of flags for the unmount operation.
+The flags currently supported by
+.Fn VFS_UNMOUNT
+are:
+.Bl -tag -width ".Dv MNT_FORCE"
+.It Dv MNT_FORCE
+Open files are forcibly closed before the file system is unmounted.
+.El
.It Fa td
Thread which is unmounting the file system.
.El
-.Pp
-If the
-.Dv MNT_FORCE
-flag is specified then open files should be forcibly closed.
.Sh SEE ALSO
.Xr vflush 9 ,
.Xr VFS 9 ,
OpenPOWER on IntegriCloud