MTAB(4-SVR4) RISC/os Reference Manual MTAB(4-SVR4)
NAME
/etc/mtab - mounted file system table
SYNOPSIS
#include <mntent.h>
DESCRIPTION
mtab resides in the /etc directory, and contains a table of
filesystems currently mounted by the mount command. umount
removes entries from this file.
The file contains a line of information for each mounted
filesystem, structurally identical to the contents of
/etc/fstab, described in fstab(4). There are a number of
lines of the form:
fsname dir type opts freq passno
for example:
/dev/xy0a / efs rw,noquota 1 2
The file is accessed by programs using getmntent(3), and by
the system administrator using a text editor.
NOTES
You should not change /etc/mtab by hand. This confuses the
system and does not achieve the desired result.
FILES
/etc/mtab
SEE ALSO
getmntent(3), fstab(4), mount(1M)
ORIGIN
Sun Microsystems
Printed 11/19/92 Page 1