mount_nfs

mount an NFS filesystem

Syntax:

mount_nfs [-fruvw] [-o flags] rhost:path mount_point

Options:

-f
Do everything except for the actual system call. This option “fakes” mounting the filesystem. When used with -v, it can help you determine what mount_nfs is trying to do.
-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).
rsize=n
Set read size to n bytes (default is 8K; max is 32K).
tcp
Use TCP transport (default is UDP).
noconn
Don't connect the socket. Used for UDP servers that send replies from a socket other than the NFS server socket.
wsize=n
Set write size to n bytes (default is 8K; max is 32K).
retry=n
Set mount retry count to n (default is 10000).
retrans=n
Set retransmission count for NFS RPCs to n (default is 10). The transmission interval is 10 seconds.
-r
Mount the filesystem object as read-only.
-u
Change the status of a mounted filesystem. Note that you can't change a read/write mount to 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.

Description:

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.

See also:

mount, showmount

Chapter 5, What is NFS?