Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mnttab(NF) — OpenDesktop 1.0.0y

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mount(NADM)

setmnt(ADM)

MNTTAB(NF)


     MNTTAB(NF)                         UNIX System V



     Name
          mnttab - Mounted file system table


     Syntax
          #include <mnttab.h>


     Description
          mnttab resides in directory /etc and  contains  a  table  of
          devices,   mounted   by  the  mount(NADM)  command,  in  the
          following structure as defined by <mnttab.h>:
          struct    mnttab {
               char mt_dev[32];
               char mt_filsys[32];
               short     mt_ro_flg;
               time_t    mt_time;
               char mt_fstyp[16];
               char mt_mntopts[64];
          };

          Each entry is 150 bytes in length;

          ⊕ the first 32 bytes are the null-padded name of  the  place
            where the special file is mounted;

          ⊕ the next 32 bytes represent the null-padded root  name  of
            the mounted special file;

          ⊕ the next  6  bytes  contain  the  mounted  special  file's
            read/write  permissions  and  the  date  on  which  it was
            mounted;

          ⊕ the following 16 bytes are the null-padded  name  of  file
            system type;

          ⊕ the remaining 64 bytes are the null-padded string of mount
            options.

          The mount options are only used in the case of an  NFS  file
          system.

          The maximum number of entries in  mnttab  is  based  on  the
          system parameter

          NMOUNT located in /etc/master.d/kernel,  which  defines  the
          number of allowable mounted special files.


     See Also
          mount(NADM), setmnt(ADM)


     (printed 8/17/89)                                  MNTTAB(NF)

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