[Next] [Previous] [Up] [Top] [Contents]

19.1 Network Initialization

19.1.3 File System Mount Options

When mounting a file system you can specify a number of options to indicate the type of file system and to control access to the file system. The following are valid mount options.

4.2 block special device (BSD 4.2 file system type) (SunOS 4.X only)

ufs block special device (SunOS 5.X)

nfs NFS file system type

tmp TMPFS file system type (SunOS 4.X only)

tmpfs tmpfs file system type (SunOS 5.X only)

swap swapfs file system type (SunOS 5.X only)

rw|ro read/write (default), or read-only

bg|fg if the first attempt fails retry the mount in the background, or foreground (default)

suid|nosuid allow (default), or disallow, setuid execution

quota|noquota enable, or disable, quota checking on this file system (applies locally only)

soft the nfs mount is interruptible

hard the client will continue trying until the server responds (default)

intr|nointr allow, or disallow (default) the process to be interrupted on hard mounts

retry=n retry the mount operation n times (defaults to 10000)

rsize=n set the read buffer to n bytes (defaults to SunOS 4.X: 8192; SunOS 5.X: 32768)

wsize=n set the write buffer to n bytes (defaults to SunOS 4.X: 8192; SunOS 5.X: 32768)

timeo=n set the NFS timeout value to n tenths of a second (defaults to 7)

noac no attribute and name lookup caching.

retrans=n set the NFS retransmission tries to n (defaults to 3)

actimeo=n set the minimum and maximum cache times for files and directories to n seconds (no default)

acregmin=n retain cached attributes at least n seconds after file is modified (defaults to 3)

acregmax=n retain cached attributes no more than n seconds after file is modified (defaults to 60).

acdirmin=n retain cached attributes at least n seconds after a directory is modified (defaults to 30)

acdirmax=n retain cached attributes no more than n seconds after a directory is modified (defaults to 60).

secure set DES authentication for NFS transactions

port=n set the server IP port number to n (defaults to NFS_PORT).

These mount options are valid both on the command line for the mount command and in the mount table: /etc/fstab (most Unices) or /etc/vfstab (SunOS 5.X).


Unix System Administration - 8 AUG 1996
[Next] [Previous] [Up] [Top] [Contents]