|
|
1.1 root 1: .TH MOUNT 8
2: .CT 1 sa_nonmortals
3: .SH NAME
4: mount, umount \- mount and dismount file system
5: .SH SYNOPSIS
6: .B /etc/mount
7: [
8: .I special name
9: [
10: .I fstype
11: [
12: .I flags
13: ] ] ]
14: .PP
15: .B /etc/mount
16: .B -a
17: .PP
18: .B /etc/mount
19: [
20: .I special name
21: [
22: .B -r
23: ]
24: ]
25: .PP
26: .B /etc/umount
27: .I name
28: .PP
29: .B /etc/umount
30: .B -a
31: .SH DESCRIPTION
32: .I Mount
33: announces to the system that a removable file system
34: of type
35: .I fstype
36: is present on the file
37: .I special.
38: The file
39: .I name
40: must exist already;
41: it becomes the name of the newly mounted root.
42: .I Fstype
43: and
44: .I flags
45: are integers;
46: if omitted,
47: they default to 0.
48: Type 0
49: is an ordinary disk file system.
50: Other types
51: and possible flag values
52: are listed in
53: .IR fmount (2).
54: .PP
55: The shorthand
56: .B "mount special file -r"
57: is equivalent to
58: .BR "mount special file 0 1" :
59: mount an ordinary file system
60: read-only.
61: .PP
62: If option
63: .B -a
64: is present,
65: .I mount
66: attempts to mount, in order, every file system listed in
67: .IR fstab (5).
68: .PP
69: .I Umount
70: announces to the system that the file system mounted on file
71: .I name
72: is to be removed.
73: .PP
74: These commands
75: maintain a table of mounted file systems in
76: .FR /etc/mtab ;
77: see
78: .IR fstab (5).
79: If invoked without an argument,
80: .I mount
81: prints the table.
82: If option
83: .B -a
84: is present,
85: .I umount
86: attempts to remove, in reverse order, each file system listed in
87: .IR mtab .
88: .PP
89: Physically write-protected and magnetic tape file
90: systems must be mounted read-only
91: or errors will occur when access times are updated,
92: even if no explicit write is attempted.
93: .SH EXAMPLES
94: .TP
95: .B "/etc/mount /dev/ra02 /usr"
96: Mount the file system on disk
97: .L /dev/ra02
98: on directory
99: .LR /usr .
100: .TP
101: .B "/etc/mount /dev/null /proc 2"
102: Mount the process file system.
103: .SH FILES
104: .TF /etc/fstab
105: .TP
106: .F /etc/mtab
107: mount table
108: .TP
109: .F /etc/fstab
110: file system table
111: .SH "SEE ALSO"
112: .IR fmount (2),
113: .IR fstab (5),
114: .IR netfs (8)
115: .SH BUGS
116: Mounting file systems full of garbage may crash the system.
117: .br
118: Mounting a root directory on a non-directory
119: makes some apparently good pathnames invalid.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.