Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mount(1M)

MNTTAB(4)                            SysV                            MNTTAB(4)



NAME
     mnttab - mounted file system table

SYNOPSIS
     #include <mnttab.h>

DESCRIPTION
     /etc/mnttab is a link to `node_data/etc/mnttab, which contains a table of
     devices mounted by the mount command.  umount removes entries.

     The table is a series of mntent structures, which <mnttab.h> defines like
     this:

          struct mntent{
                 char   *mnt_fsname; /* name of mounted file system */
                 char   *mnt_dir;    /* file system path prefix */
                 char   *mnt_type;   /* MNTTYPE_* */
                 char   *mnt_opts;   /* MNTOPT* */
                 time_t mnt_time;    /* Time of mount */
                 int    mnt_freq;    /* dump frequency, in days */
                 int    mnt_passno;  /* pass number on parallel fsck */
          };

     mnt_type indicates if the file system is mounted read-only or read-write.
     mnt_freq and mnt_passno are not used.

     This table is present for reference only.  It does not matter to mount if
     there are duplicated entries, nor to umount if a name cannot be found.

FILES
     /etc/mnttab

SEE ALSO
     mount(1M) in Managing SysV System Software.

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