*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> VFS_CHECKEXP (9)              



NAME    [Toc]    [Back]

     VFS_CHECKEXP -- check if a file system is exported to a client

SYNOPSIS    [Toc]    [Back]

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

     VFS_CHECKEXP(struct mount *mp, struct sockaddr *nam, int *exflagsp,
	 struct ucred **credanonp);

DESCRIPTION    [Toc]    [Back]

     This is used by the NFS server to check if a mount point is exported to a

     Its arguments are:

     mp 	The mount point to be checked.

     nam	An mbuf containing the network address of the client.

     exflagsp	Return parameter for the export flags for this client.

     credanonp	Return parameter for the anonymous credentials for this

     This should be called on a file system's mount structure to determine if
     it is exported to a client whose address is contained in nam.

     It is generally called before VFS_FHTOVP(9) to validate that a client has
     access to the file system.

     The file system should call vfs_export_lookup(9) with the address of an
     appropriate netexport structure and the address of the client, nam, to
     verify that the client can access this file system.

RETURN VALUES    [Toc]    [Back]

     The export flags and anonymous credentials specific to the client
     (returned by vfs_export_lookup(9)) will be returned in *exflagsp and

SEE ALSO    [Toc]    [Back]

     VFS(9), VFS_FHTOVP(9), VFS_VPTOFH(9), vnode(9)

AUTHORS    [Toc]    [Back]

     This manual page was written by Alfred Perlstein.

FreeBSD 5.2.1		      September 10, 1999		 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
exportent IRIX get exported file system information
getExportList IRIX get list of nfs exported directories from a remote system
fsck_vxfs HP-UX check and repair a VxFS file system
fsck Linux check and repair a Linux file system
fsck.ext3 Linux check a Linux second extended file system
e2fsck Linux check a Linux second extended file system
icheck Tru64 File system storage consistency check
fsck.ext2 Linux check a Linux second extended file system
fsck HP-UX file system consistency check and interactive repair
fsck_hfs HP-UX HFS file system consistency check and interactive repair
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service