MTAB(5) File Formats Manual MTAB(5)
mtab - mounted file system table
Mtab resides in directory /etc and contains a table of devices mounted
by the mount command. Umount removes entries.
The table is a series of mtab structures, as defined in <mtab.h>. Each
entry contains the null-padded name of the place where the special file
is mounted, the null-padded name of the special file, and a type field,
one of those defined in <fstab.h>. The special file has all its direc-
tories stripped away; that is, everything through the last `/' is
thrown away. The type field indicates if the file system is mounted
read-only, read-write, or read-write with disk quotas enabled.
This table is present only so people can look at it. It does not mat-
ter to mount if there are duplicated entries nor to umount if a name
cannot be found.
4th Berkeley Distribution 26 June 1983 MTAB(5)