MTAB(5)                                                                MTAB(5)


NAME
       mtab - mounted file system table

SYNOPSIS
       #include <fstab.h>
       #include <mtab.h>

DESCRIPTION
       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.

FILES
       /etc/mtab

SEE ALSO
       mount(8)


7th Edition                      May 15, 1985                          MTAB(5)
 
Generated: 2016-12-26
Generated by man2html V0.25
page hit count: 722
Valid CSS Valid XHTML 1.0 Strict