VFS_VPTOFH(9)

VFS_VPTOFH9

Turn a vnode into an nfs filehandle

Usage

#include <sys/param.h>

#include <sys/mount.h>

#include <sys/vnode.h>

int

VFS_VPTOFH(struct vnode *vp, struct fid *fhp);

Overview

This is used by the NFS server to create an opaque filehandle which uniquely identifies the file and which can be used by an NFS client to access the file in the future.

Its arguments are:

vp

The vnode to make a filehandle for.

fhp

Return parameter for the filehandle.

Authors

This manual page was written by Doug Rabson.

From freebsd-manpages 6.0-5 in Debian 4.0 (Etch). Parsed by carta from the page's mdoc source.