NAME

nfsfs - nfs client

SYNOPSIS

mount { nfsfs [ -d ] [ -u uid ] [ -g gid,... ] [ -p passwd group ] host path } mtpt

DESCRIPTION

Nfsfs is an nfs client. Styx is served on its standard input. Styx requests are implemented using nfs messages. The root file system served by nfsfs is path from host. At startup, nfsfs dials (with tcp) the portmap service at host, to find the tcp ports the mount and nfs protocols are served on at host. The mount service is dialed to get a root file handle for path. Nfsfs then dials the nfs service and uses that connection to implement the styx operations.

Nfsfs also provides access to nfs file system information through the read-only files /chan/nfsinfo and /chan/nfsstat.

Options
-d
Print debugging information.
-u uid
Perform portmap, mnt and nfs operations as uid. The default is 0.
-g gid,...
Perform portmap, mnt and nfs operations as gid,.... The default is 0.
-p passwd group
Read a mapping of user names to uids (and back) from passwd and from group names (and back) from group. By default, numeric id's are used. The format of the files is the common unix password and group file format.

EXAMPLE


nfssrv(1),

mount(1).


RFC1813, ``NFS Version 3 Protocol''

SOURCE

/appl/cmd/nfsfs.b
/appl/lib/portmap.b
/appl/lib/nfsrpc.b
/appl/lib/mntrpc.b
/appl/lib/portmaprpc.b
/appl/lib/sunrpc.b

BUGS

No caching (e.g. for attributes). Each fid has one file handle cached, stale file handles are refreshed by one lookup per path element, from the root file handle.
Does not dial from ports < 1024.
Handles each styx message synchronously, so no concurrently styx or nfs operations.
Only operates over TCP, for the portmap, mount and nfs protocols.

NFSFS(4 ) Rev:  Thu Sep 17 00:49:37 GMT 2009