MTAB(5) File Formats Manual MTAB(5)NAME
mtab - mounted file system table
DESCRIPTION
Mtab resides in directory /etc and contains a table of devices mounted by the mount command. Umount removes entries.
Each entry is 64 bytes long; the first 32 are the null-padded name of the place where the special file is mounted; the second 32 are the
null-padded name of the special file. The special file has all its directories stripped away; that is, everything through the last `/' is
thrown away.
This table is present only so people can look at it. It does not matter to mount if there are duplicated entries nor to umount if a name
cannot be found.
FILES
/etc/mtab
SEE ALSO mount(1)MTAB(5)
Check Out this Related Man Page
FSTAB(5) File Formats Manual FSTAB(5)NAME
fstab, mtab - list of file systems to mount, mounted file system table.
SYNOPSIS
/etc/fstab
/etc/mtab
DESCRIPTION
/etc/fstab is a table of file system to mount at boot time, /etc/mtab is a table of currently mounted file systems as maintained by mount
and umount.
/etc/fstab is not read by mount as it should be. It is instead a simple shell script listing the three devices that Minix needs to oper-
ate: The device names of the root file system, the temporary (scratch) file system, and the file system for /usr. Of these only the /usr
file system is mounted in /etc/rc, the scratch file system is there for the system administrator to test new kernels, or as a temporary
file system.
/etc/mtab contains lines of four fields. The layout is:
device directory type options
These fields may be explained as follows:
device
A block special device.
directory
Mount point.
type
Either 1, or 2, indicating a V1 or V2 file system.
options
Either ro, or rw, indicating a read-only or read-write mounted file system.
FILES
/etc/fstab Shell script naming three important file systems.
/etc/mtab List of mounted file systems.
SEE ALSO printroot(8), mount(1), fsck(1), mkfs(1).
BUGS
/etc/fstab is a joke.
AUTHOR
Kees J. Bot (kjb@cs.vu.nl)
FSTAB(5)