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 “Options” section; see the manpage for full details.

Options

-b

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

-i

Make 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

Enable Kerberos authentication.

-m

Specify 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

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

-T

Enable 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 is mounted.

Get Mac OS X Panther in a Nutshell, 2nd Edition 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.