VFS_UNMOUNT(9freebsd)

VFS_UNMOUNT9freebsd

Unmount a file system

Usage

#include <sys/param.h>

#include <sys/mount.h>

#include <sys/vnode.h>

int

VFS_UNMOUNT(struct mount *mp, int mntflags);

Overview

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.

Releases

9 releases since Debian 5.0 (Lenny); the text changed 6 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9
  6. 10
  7. 11–13

Authors

This manual page was written by Doug Rabson.

From freebsd-manpages 12.2-2 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.