|
NAMEvfs_busy —
marks a mount point as busy
SYNOPSIS#include <sys/param.h>
#include <sys/mount.h>
int
DESCRIPTIONThevfs_busy () function marks a mount point as busy by
incrementing the reference count of a mount point. It also delays unmounting
by sleeping on mp if the
MNTK_UNMOUNT flag is set in
mp->mnt_kern_flag and the
MBF_NOWAIT flag is not set.
Its arguments are:
RETURN VALUESA 0 value is returned on success. If the mount point is being unmounted and MBF_NOWAIT flag is specifiedENOENT will be returned.
ERRORS
SEE ALSOvfs_unbusy(9)AUTHORSThis manual page was written by Chad David <davidc@acns.ab.ca>.
Visit the GSP FreeBSD Man Page Interface. |