VFS_UNMOUNT (9) | Kernel routines | Unix Manual Pages | :man▋
VFS_UNMOUNT - unmount a file system
.In sys/vnode.h int VFS_UNMOUNT "struct mount *mp" "int mntflags" "struct thread *td"
The VFS_UNMOUNT macro unmounts a file system.
The arguments it expects are:
| mp || The file system. |
| mntflags |
| || Bit-mask of flags for the unmount operation. The flags currently supported by VFS_UNMOUNT are: |
| MNT_FORCE || Open files are forcibly closed before the file system is unmounted. |
| td || Thread which is unmounting the file system. |
vflush(9), VFS(9), vnode(9)
Share this page