|
NAMEvfs_getvfs —
returns a mount point given its file system identifier
SYNOPSIS#include <sys/param.h>
#include <sys/mount.h>
struct mount *
DESCRIPTIONThevfs_getvfs () function returns the mount point
structure for a file system given its file system identifier. The file system
ID should have been allocated by calling
vfs_getnewfsid(9);
otherwise, it will not be found.
A major user of RETURN VALUESIf fsid is found, the mount point for the ID is returned; otherwise,NULL is returned.
PSEUDOCODEif ((mp = vfs_getvfs(&fhp->fh_fsid)) == NULL) { error = ESTALE; goto out; } SEE ALSOvfs_getnewfsid(9)AUTHORSThis manual page was written by Chad David <davidc@acns.ab.ca>.
Visit the GSP FreeBSD Man Page Interface. |