mount.8 - ubase - suckless linux base utils | |
git clone git://git.suckless.org/ubase | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
mount.8 (1445B) | |
--- | |
1 .Dd February 2, 2015 | |
2 .Dt MOUNT 8 | |
3 .Os ubase | |
4 .Sh NAME | |
5 .Nm mount | |
6 .Nd mount a filesystem | |
7 .Sh SYNOPSIS | |
8 .Nm | |
9 .Op Fl BMRan | |
10 .Op Fl o Ar options | |
11 .Op Fl t Ar fstype | |
12 .Op Ar source | |
13 .Op Ar target | |
14 .Sh DESCRIPTION | |
15 .Nm | |
16 attaches the filesystem specified to the filesystem hierarchy. The | |
17 .Xr umount 8 | |
18 command will detach it again. | |
19 .Sh OPTIONS | |
20 .Bl -tag -width Ds | |
21 .It Fl B | |
22 Remount a subtree somewhere else (so that its contents are visible in bo… | |
23 places). | |
24 .It Fl M | |
25 Move a subtree to some other place. | |
26 .It Fl R | |
27 Remount a subtree and all possible submounts somewhere else (so that its | |
28 contents are available in both places). | |
29 .It Fl a | |
30 Mount all filesystems mentioned in | |
31 .Pa /etc/fstab . | |
32 .It Fl n | |
33 Mount without writing in | |
34 .Pa /etc/mtab . | |
35 This is the default action. | |
36 .It Fl o Ar options | |
37 Specify a comma separated string of filesystem specific options. | |
38 .It Fl t Ar fstype | |
39 Set the filesystem type. More than one type may be specified in a comma | |
40 separated list. The list of file system types can be prefixed with "no" … | |
41 specify the file system types for which action should not be taken. For | |
42 example, the | |
43 .Nm | |
44 command: | |
45 .Bd -literal | |
46 # mount -a -t nonfs,ext4 | |
47 | |
48 .Ed | |
49 mounts all file systems except those of type NFS and EXT4. | |
50 .Nm | |
51 will attempt to execute a program in your | |
52 .Ev PATH | |
53 mount.XXX where XXX is replaced by the type name. For example, NFS file | |
54 systems are mounted by the program | |
55 .Pa mount.nfs . | |
56 .El | |
57 .Sh SEE ALSO | |
58 .Xr mount 2 , | |
59 .Xr umount 2 , | |
60 .Xr swapon 8 , | |
61 .Xr umount 8 |