source: trunk/minix/man/man5/fstab.5@ 20

Last change on this file since 20 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 1.3 KB
Line 
1.TH FSTAB 5
2.SH NAME
3fstab, mtab \- list of file systems to mount, mounted file system table.
4.SH SYNOPSIS
5.B /etc/fstab
6.sp
7.B /etc/mtab
8.SH DESCRIPTION
9.B /etc/fstab
10is a table of file system to mount at boot time,
11.B /etc/mtab
12is a table of currently mounted file systems as maintained by
13.B mount
14and
15.BR umount .
16.PP
17.B /etc/fstab
18is not read by
19.B mount
20as it should be. It is instead a simple shell script listing the two or
21three devices that MINIX 3 needs to operate: The device names of the root
22file system, the swap file system (optional), and the file system for
23.BR /usr .
24.PP
25.B /etc/mtab
26contains lines of four fields. The layout is:
27.sp
28.RS
29.nf
30.ft B
31.ta +10n +13n +8n
32device directory type options
33.ft P
34.fi
35.RE
36.PP
37These fields may be explained as follows:
38.sp
39.B device
40.br
41.RS
42A block special device.
43.RE
44.sp
45.B directory
46.br
47.RS
48Mount point.
49.RE
50.sp
51.B type
52.br
53.RS
54Either
55.BR 1 ,
56.BR 2 ,
57or
58.BR swap ,
59indicating a V1 or a V2 file system, or swap space.
60.RE
61.sp
62.B options
63.br
64.RS
65Either
66.BR ro ,
67or
68.BR rw ,
69indicating a read-only or read-write mounted file system.
70.RE
71.SH FILES
72.TP 15n
73.B /etc/fstab
74Shell script naming three important file systems.
75.TP
76.B /etc/mtab
77List of mounted file systems.
78.SH "SEE ALSO"
79.BR printroot (8),
80.BR mount (1),
81.BR fsck (1),
82.BR mkfs (1).
83.SH BUGS
84.B /etc/fstab
85is a joke.
86.SH AUTHOR
87Kees J. Bot (kjb@cs.vu.nl)
Note: See TracBrowser for help on using the repository browser.