unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (4.2BSD)
Page:
Section:
Apropos / Subsearch:
optional field

MTAB(5)                       File Formats Manual                      MTAB(5)



NAME
       mtab - mounted file system table

SYNOPSIS
       #include <&lt;fstab.h>&gt;
       #include <&lt;mtab.h>&gt;

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 &lt;mtab.h&gt;.  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)



4th Berkeley Distribution        26 June 1983                          MTAB(5)