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.
This commit is contained in:
Giorgos Keramidas 2005-01-07 11:45:11 +00:00
parent 59292cdbeb
commit ce4ad10554

View File

@ -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 ,