mount an NFS filesystem
mount_nfs [-rvw] [-o flags] rhost:path mount_point
- -o flags
- Apply the specified flags to the filesystem being
mounted. To specify multiple flags to -o,
separate each with a comma. In the QNX implementation, the
following flags are accepted but ignored:
- noexec
- nosuid
- nodev
- synchronous
To override the defaults for a mount_nfs, use
these flags:
- bg
- If the first mount_nfs request times out, do
retries in the background (default is foreground).
- noconn
- Don't connect the socket. Used for UDP servers that
send replies from a socket other than the NFS server socket.
- retrans=n
- Set retransmission count for NFS RPCs to n
(default is 10). The transmission interval is 10 seconds.
- retry=n
- Set mount retry count to n (default is 10000).
- rsize=n
- Set read size to n bytes (default is 8K; max
is 32K).
- tcp
- Use TCP transport (default is UDP).
- wsize=n
- Set write size to n bytes (default is 8K;
max is 32K).
- -r
- Mount the filesystem object as read-only.
- -v
- Be verbose.
- -w
- Make the filesystem object read/write.
- rhost:path
- A remote host filesystem that mount_nfs will
graft onto the local filesystem.
- mount_point
- The local directory onto which mount_nfs will
graft the remote filesystem.
The mount_nfs utility grafts a remote host
filesystem onto the local filesystem tree.
The system maintains a list of currently mounted
filesystems. When invoked without arguments,
mount_nfs prints this list.
mount,
showmount
What is NFS? chapter in this guide.