VFS_UNMOUNT (9)
Leading comments
Copyright (c) 1996 Doug Rabson All rights reserved. This program is free software. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in...
NAME
VFS_UNMOUNT - unmount a file systemSYNOPSIS
In sys/param.h In sys/mount.h In sys/vnode.h Ft int Fn VFS_UNMOUNT struct mount *mp int mntflagsDESCRIPTION
The Fn VFS_UNMOUNT macro unmounts a file system.The arguments it expects are:
- Fa mp
- The file system.
- Fa mntflags
-
Bit-mask of flags for the unmount operation.
The flags currently supported by
Fn VFS_UNMOUNT
are:
- MNT_FORCE
- Open files are forcibly closed before the file system is unmounted.