Commit | Line | Data |
---|---|---|
8112f3d2 C |
1 | .TH MTAB 5 "26 June 1983" |
2 | .UC 4 | |
3 | .SH NAME | |
4 | mtab \- mounted file system table | |
5 | .SH SYNOPSIS | |
6 | .B "#include <fstab.h> | |
7 | .br | |
8 | .B "#include <mtab.h>" | |
9 | .SH DESCRIPTION | |
10 | .I Mtab | |
11 | resides in directory | |
12 | .I /etc | |
13 | and contains a table of devices mounted by the | |
14 | .I mount | |
15 | command. | |
16 | .I Umount | |
17 | removes entries. | |
18 | .PP | |
19 | The table is a series of | |
20 | .I mtab | |
21 | structures, as defined in | |
22 | .IR < mtab.h >. | |
23 | Each entry contains the null-padded name of | |
24 | the place where the special file is mounted, | |
25 | the null-padded name of the special file, and | |
26 | a type field, one of those defined in | |
27 | .RI < fstab.h >. | |
28 | The special file has all its directories | |
29 | stripped away; | |
30 | that is, everything through the last `/' is thrown | |
31 | away. The type field indicates if the file system | |
32 | is mounted read-only, read-write, or read-write with | |
33 | disk quotas enabled. | |
34 | .PP | |
35 | This table is present only so people can look at it. | |
36 | It does not matter to | |
37 | .I mount | |
38 | if there are duplicated entries nor | |
39 | to | |
40 | .I umount | |
41 | if a name cannot be found. | |
42 | .SH FILES | |
43 | /etc/mtab | |
44 | .SH "SEE ALSO" | |
45 | mount(8) |