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