Line | |
---|
1 | .TH MOUNT 1
|
---|
2 | .SH NAME
|
---|
3 | mount \- mount a file system
|
---|
4 | .SH SYNOPSIS
|
---|
5 | \fBmount [\fB\-r\fR] \fIspecial \fIfile\fR
|
---|
6 | .br
|
---|
7 | \fBmount [\fB\-s\fR] \fIswapfile\fR
|
---|
8 | .br
|
---|
9 | .de FL
|
---|
10 | .TP
|
---|
11 | \\fB\\$1\\fR
|
---|
12 | \\$2
|
---|
13 | ..
|
---|
14 | .de EX
|
---|
15 | .TP 20
|
---|
16 | \\fB\\$1\\fR
|
---|
17 | # \\$2
|
---|
18 | ..
|
---|
19 | .SH OPTIONS
|
---|
20 | .FL "\-r" "File system is mounted read-only"
|
---|
21 | .FL "\-s" "Mount swap space"
|
---|
22 | .SH EXAMPLES
|
---|
23 | .EX "mount /dev/fd1 /user" "Mount diskette 1 on \fI/user\fP"
|
---|
24 | .SH DESCRIPTION
|
---|
25 | .PP
|
---|
26 | The file system contained on the special file is mounted on \fIfile\fP.
|
---|
27 | In the example above, the root directory of the file system in drive 1
|
---|
28 | can be accessed as
|
---|
29 | .B /user
|
---|
30 | after the mount.
|
---|
31 | When the file system is no longer needed, it must be unmounted before being
|
---|
32 | removed from the drive.
|
---|
33 | .PP
|
---|
34 | With the
|
---|
35 | .B \-s
|
---|
36 | flag a device or file is mounted as swap space.
|
---|
37 | .SH "SEE ALSO"
|
---|
38 | .BR df (1),
|
---|
39 | .BR mkfs (1),
|
---|
40 | .BR fsck (1),
|
---|
41 | .BR mkswap (8),
|
---|
42 | .BR umount (1),
|
---|
43 | .BR mount (2),
|
---|
44 | .BR fstab (5).
|
---|
Note:
See
TracBrowser
for help on using the repository browser.