.\" Copyright (c) 1980 Regents of the University of California.
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\" @(#)mount.8 6.6 (Berkeley) %G%
mount, umount \- mount and dismount file systems
announces to the system that a removable file system is present on the
block device \fIspecial\fP or the remote node ``rhost:path''.
The file \fInode\fP must exist already and
it must be a directory. It becomes the name of the newly mounted root.
The optional arguments \fI-r\fP and \fI-w\fP indicate that the file
system is to be mounted read-only or read-write, respectively. If
either \fIspecial\fP or \fIfile\fP are not provided, the appropriate
information is taken from the \fIfstab\fP file. The \fI-f\fP option
causes everything to be done except for the actual system call; if it's
not obvious, this ``fakes'' mounting the file system.
The optional argument \fI-t\fP must be followed by \fBnfs\fP or
\fBufs\fP to indicate the file system type. The type \fBufs\fP is
The \fI-o\fP argument followed by \fIoptions\fP, which is a comma
separated string of any of the following list,
can be used to override the defaults for an nfs mount.
I/O system calls will retry until the server responds (default)
I/O system calls will fail and return errno after \fIretrans\fP request
If the first mount request times out, do retries in background
I/O system calls can be interrupted.
Set read size to \fI#\fP bytes.
Set write size to \fI#\fP bytes.
Set mount retry count to \fI#\fP.
Set retransmission count for nfs rpc's to \fI#\fP.
Set initial nfs timeout to \fI#\fP in 0.1 sec intervals.
announces to the system that the removable file system \fInode\fP
or whatever removable file system was previously mounted on device
\fIspecial\fP should be removed.
If the \fI-a\fP option is present for either
all of the file systems described in
are mounted or unmounted.
The system maintains a list of currently mounted filesystems.
If invoked without an argument,
Physically write-protected and magnetic tape file
systems must be mounted read-only
or errors will occur when access times are updated,
whether or not any explicit write is attempted.
/etc/fstab file system table
Mounting garbaged file systems will crash the system.
Mounting a root directory on a non-directory
makes some apparently good pathnames invalid.