.\" 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.3 (Berkeley) %G%
mount, umount \- mount and dismount file systems
.B mount [-frw] special | node
.B mount [-frw] special node
announces to the system that a removable file system is present on the
block device \fIspecial\fP. 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.
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.
maintain a list of currently mounted file systems in
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
mount(2), fstab(5), mtab(5)
Mounting garbaged file systems will crash the system.
Mounting a root directory on a non-directory
makes some apparently good pathnames invalid.