This is a special mount command that allows you to mount nfs servers by file
handle, bypassing the mount protocol.

To build, get a copy of util-linux-2.12 from any linux source repository or
from
http://www.citi.umich.edu/projects/nfsv4/linux/util-linux-tarballs/util-linux-2.12.tar.gz

Apply the util-linux-2.12-CITI_NFS4_ALL-3.dif patch.  Then apply the
nfsmount.diff patch or copy the new nfsmount.c into the 'mount'
subdirectory, then build normally.

This mount command has two new options for nfs3 mounts.  The "gethandle"
option will run the mount protocol, print the resulting file handle, and
exit.  The "handle=" option takes the file handle as an argument, bypasses
the mount protocol, and mounts the server directly.

Sample usage:
# ./mount -t nfs -o gethandle troy:/vol/install /install
40000000aa859c052000000000000040aa859c05a7c2006640000000aa859c00
# ./mount -t nfs -o tcp,handle=40000000aa859c052000000000000040aa859c05a7c2006640000000aa859c00 troy:/vol/install /install

To mount nfs4 file systems by file handle, apply the nfs4proc.diff patch to
your kernel source, then build and install the kernel.  Specify the file
handle where the remote path would normally go.

Sample usage:
# ./mount -t nfs4 snoopy:010000000007000080000000 /mnt

Jim Rees, University of Michigan CITI, August 2006
