Skip site navigation (1)Skip section navigation (2)

FreeBSD Man Pages

Man Page or Keyword Search:
Man Architecture
Apropos Keyword Search (all sections) Output format
home | help
VFS_UNMOUNT(9)         FreeBSD Kernel Developer's Manual        VFS_UNMOUNT(9)

NAME
     VFS_UNMOUNT - unmount a file system

SYNOPSIS
     #include <sys/param.h>
     #include <sys/mount.h>
     #include <sys/vnode.h>

     int
     VFS_UNMOUNT(struct mount *mp, int mntflags, struct thread *td);

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.

     td        Thread which is unmounting the file system.

SEE ALSO
     vflush(9), VFS(9), vnode(9)

AUTHORS
     This manual page was written by Doug Rabson.

FreeBSD 11.0-PRERELEASE         January 7, 2005        FreeBSD 11.0-PRERELEASE

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO | AUTHORS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=VFS_UNMOUNT&sektion=9&manpath=FreeBSD+7.2-RELEASE>

home | help