NAME
fstab - static filesystem mounting table

SYNOPSIS
/etc/fstab

DESCRIPTION
The /etc/fstab file contains entries for filesystems (local
Macintosh volumes or Network File Systems) to mount using the
mount(8) command, which is normally invoked by the rc script at
boot time. Is only read by programs, and not written; it is the
duty of the system administrator to properly create and maintain
this file. This file is used by various utilities that mount,
unmount, dump, and restore file systems.

Each entry consists of a line of the form:

filesystem directory type options freq pass

filesystem
is the Macintosh volume name of a Macintosh disk (hard
disk, floppy, CDROM, etc) or the name of a remote
filesystem in host:pathname form. Macintosh volume names
with special characters (spaces, slashes, etc.) may need
to be contained within double quotes (").

directory is the pathname of the directory on which to mount the
filesystem.

type is the filesystem type, which can be one of:
ufs to mount a Macintosh volume
nfs to mount an exported NFS filesystem

options contains a comma-separated list (no spaces) of mounting
options, some of which can be applied to all types of
filesystems, and others which only apply to specific
types.

ufs options:

quota|noquota Disk quotas are enforced or not
enforced.

nfs options:
bg If the first attempt fails, retry in
the background, default is to retry in
the foreground.
retry=n The number of times to retry the mount
operation.
rsize=n Set the read buffer size to n bytes.
wsize=n Set the write buffer size to n bytes.
timeo=n Set the NFS timeout to n tenths of a
second.
retrans=n The number of NFS retransmissions.
soft Return an error if the server does not
respond, default is to continue to
retry the request until the server
responds.
intr Allow keyboard interrupts on hard
mounts.
tcp Use TCP transport instead of UDP.
dtnfs Desktop NFS. The filsystem will appear
on the desktop, for use by Macintosh
applications.
lockd Support Macintosh file and record
locking using the SUN file locking
daemon (lockd or rpc.lockd). Requires
setting "dtnfs" above.
bwnfsd Support Macintosh file and record
locking using the Beame and Whiteside
file locking daemon (bwnfsd). Requires
setting "dtnfs" above.

Common options:

ro|rw mount either read-only or read-write
suid|nosuid
setuid execution allowed or disallowed

freq is the interval (in days) between dumps.

pass is the pass number on which to check the file system.

Under MachTen, freq and pass are not used. However, they must be
specified, and should be set to 0.

A pound-sign (#) as the first non-white character indicates a
comment line which is ignored by routines that read this file. The
order of records in /etc/fstab is important because mount(8) and
umount process the file sequentially; an entry for a file system
must appear after the entry for any file system it is to be mounted
on top of.

EXAMPLES
In this example, the Macintosh disk <Macintosh volume name> is
mounted read-write on the path /mnt and the NFS disk /home on the
NFS server <NFS server name> is mounted with options read-write,
Desktop NFS, and soft on the path /home/myserver.

<Macintosh volume name> /mnt ufs rw 0 0
<NFS server name>:/home /home/myserver nfs rw,dtnfs,soft 0 0

FILES
/etc/fstab

SEE ALSO
getmntent(3), mount(8), rc(8)