BSD 3 development
[unix-history] / usr / man / man1 / mount.1m
CommitLineData
e6817382
BJ
1.TH MOUNT 1M
2.SH NAME
3mount, umount \- mount and dismount file system
4.SH SYNOPSIS
5.B /etc/mount
6[ special name [
7.B \-r
8] ]
9.PP
10.B /etc/umount
11special
12.SH DESCRIPTION
13.I Mount
14announces to the system that a removable file system
15is present on the device
16.I special.
17The file
18.I name
19must exist already; it
20must be a directory (unless the root of the
21mounted file system is not a directory).
22It becomes the name of the newly mounted root.
23The optional last argument indicates that the file system
24is to be mounted read-only.
25.PP
26.I Umount
27announces to the system that the removable file system previously
28mounted on device
29.I special
30is to be removed.
31.PP
32These commands
33maintain a table of mounted devices.
34If invoked without an argument,
35.I mount
36prints the table.
37.PP
38Physically write-protected and magnetic tape file
39systems must be mounted read-only
40or errors will occur when access times are updated,
41whether or not any explicit write is attempted.
42.SH FILES
43/etc/mtab mount table
44.SH "SEE ALSO"
45mount(2),
46mtab(5)
47.SH BUGS
48Mounting file systems full of garbage will crash the system.
49.br
50Mounting a root directory on a non-directory
51makes some apparently good pathnames invalid.