GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  VFS_GETVFS (9)

NAME

vfs_getvfs - returns a mount point given its file system identifier

CONTENTS

Synopsis
Description
Return Values
Pseudocode
See Also
Authors

SYNOPSIS


.In sys/param.h
.In sys/mount.h struct mount * vfs_getvfs fsid_t *fsid

DESCRIPTION

The vfs_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 vfs_getvfs is NFS, which uses the
.Vt fsid as part of file handles in order to determine the file system a given RPC is for. If vfs_getvfs fails to find the mount point related to fsid, the file system is considered stale.

RETURN VALUES

If fsid is found, the mount point for the ID is returned; otherwise, NULL is returned.

PSEUDOCODE

if ((mp = vfs_getvfs(&fhp->fh_fsid)) == NULL) {
        error = ESTALE;
        goto out;
}

SEE ALSO

vfs_getnewfsid(9)

AUTHORS

This manual page was written by
.An Chad David Aq davidc@acns.ab.ca .
Search for    or go to Top of page |  Section 9 |  Main Index


Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.