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 diff or copy the new nfsmount.c into the 'mount' subdirectory,
then build normally.

This mount command has two new options for nfs 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

Jim Rees, University of Michigan CITI, August 2006
