From ce4ad105544163ef9d2bccb80a6b47af1e16fcaa Mon Sep 17 00:00:00 2001 From: Giorgos Keramidas Date: Fri, 7 Jan 2005 11:45:11 +0000 Subject: [PATCH] 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. --- share/man/man9/VFS_UNMOUNT.9 | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/share/man/man9/VFS_UNMOUNT.9 b/share/man/man9/VFS_UNMOUNT.9 index ee5f9b7ae15..1face4913e1 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 ,