logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

VFS_UNMOUNT — unmount a file system

Authors

       This manual page was written by Doug Rabson.

Debian                                            May 23, 2009                                    VFS_UNMOUNT(9)

Description

       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.

Name

       VFS_UNMOUNT — unmount a file system

See Also

vflush(9), VFS(9), vnode(9)

Synopsis

#include<sys/param.h>#include<sys/mount.h>#include<sys/vnode.h>intVFS_UNMOUNT(structmount*mp, intmntflags);

See Also