Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mtab(5) — UTek W2.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mount(8)



MTAB(5)                 COMMAND REFERENCE                 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.  Mount adds entries to
     the table; umount removes entries.

     The table is a series of mtab structures, as defined in
     <mtab.h>:

          struct mtab {
               char m_path[32];         /* mounted on pathname */
               char m_dname[32];        /* block device pathname */
               char m_type[4];          /* read-only, quotas */
          };

     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 directories 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 as information to users.  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(8).















Printed 10/17/86                                                1





































































%%index%%
na:72,68;
sy:140,303;
de:443,1409;
fi:1852,66;
se:1918,90;
%%index%%000000000092

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026