Name

mount_nfs

Synopsis

mount_nfs [nfs_mount_options] [-o mount_options] nfs_ server:pathname mount_point
                  

Mounts Network File System (NFS) exports as filesystem volumes. mount_nfs can take a large number of options, most of which offer knobs to tune the performance of NFS mounts. Only a few are described in the following list; see the manpage for full details.

Options

-b

After an initial mount attempt fails, forks off a background process to continue trying the mount.

-i

Makes the mount interruptible, so that processes failing to access the mount can be terminated, instead of getting stuck in an uninterruptible state waiting on I/O.

-K

Enables Kerberos authentication.

-m

Specifies a Kerberos realm to use with the -K option. Takes a realm name as an argument.

-o

Takes -o options as listed in the mount manpage.

-s

Makes the mount soft, so that processes failing to access the mount will eventually receive an error, instead of getting interminably stuck waiting on I/O.

-T

Enables the use of TCP as the underlying network transport protocol, instead of the default UDP.

nfs_server

The hostname or IP address of an NFS server.

pathname

The pathname of the NFS export you wish to access.

mount_point

The directory on which the filesystem will be mounted.

Get Mac OS X in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.