Commit | Line | Data |
---|---|---|
bea22c67 C |
1 | .TH MOUNT 8 "4 February 1983" |
2 | .UC 4 | |
3 | .SH NAME | |
4 | mount, umount \- mount and dismount file system | |
5 | .SH SYNOPSIS | |
6 | .B /etc/mount | |
7 | [ special name [ | |
8 | .B \-r | |
9 | ] ] | |
10 | .PP | |
11 | .B /etc/mount | |
12 | .B \-a | |
13 | .PP | |
14 | .B /etc/umount | |
15 | special | |
16 | .PP | |
17 | .B /etc/umount | |
18 | .B \-a | |
19 | .SH DESCRIPTION | |
20 | .I Mount | |
21 | announces to the system that a removable file system | |
22 | is present on the device | |
23 | .I special. | |
24 | The file | |
25 | .I name | |
26 | must exist already; it | |
27 | must be a directory (unless the root of the | |
28 | mounted file system is not a directory). | |
29 | It becomes the name of the newly mounted root. | |
30 | The optional argument | |
31 | .B \-r | |
32 | indicates that the file system | |
33 | is to be mounted read-only. | |
34 | .PP | |
35 | .I Umount | |
36 | announces to the system that the removable file system previously | |
37 | mounted on device | |
38 | .I special | |
39 | is to be removed. | |
40 | .PP | |
41 | If the | |
42 | .B \-a | |
43 | option is present for either | |
44 | .I mount | |
45 | or | |
46 | .I umount, | |
47 | all of the file systems described in | |
48 | .I /etc/fstab | |
49 | are attempted to be mounted or unmounted. | |
50 | In this case, | |
51 | .I special | |
52 | and | |
53 | .I name | |
54 | are taken from | |
55 | .I /etc/fstab. | |
56 | The | |
57 | .I special | |
58 | file name from | |
59 | .I /etc/fstab | |
60 | is the block special name. | |
61 | .PP | |
62 | These commands | |
63 | maintain a table of mounted devices in | |
64 | .I /etc/mtab. | |
65 | If invoked without an argument, | |
66 | .I mount | |
67 | prints the table. | |
68 | .PP | |
69 | Physically write-protected and magnetic tape file | |
70 | systems must be mounted read-only | |
71 | or errors will occur when access times are updated, | |
72 | whether or not any explicit write is attempted. | |
73 | .SH FILES | |
74 | /etc/mtab mount table | |
75 | .br | |
76 | /etc/fstab file system table | |
77 | .SH "SEE ALSO" | |
78 | mount(2), | |
79 | mtab(5), fstab(5) | |
80 | .SH BUGS | |
81 | Mounting file systems full of garbage will crash the system. | |
82 | .br | |
83 | Mounting a root directory on a non-directory | |
84 | makes some apparently good pathnames invalid. |