Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mntent(4) — sysv — mips UMIPS RISC/os 4.52

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getmntent(3)

fstab(1M)

fsck(1M)

mount(1M)



MNTENT(4-SysV)      RISC/os Reference Manual       MNTENT(4-SysV)



NAME
     mntent - static information about filesystems

SYNOPSIS
     #include <mntent.h>

DESCRIPTION
     The file /etc/fstab describes the file systems and swapping
     partitions used by the local machine.  It is created by the
     system administrator using a text editor and processed by
     commands which mount, unmount, check consistency of, dump
     and restore file systems, and by the system in providing
     swap space.

     It consists of a number of lines of the form:

          fsname dir type opts freq passno

     an example of which would be:

          /dev/xy0a / efs rw, 1 2

     The entries from this file are accessed using the routines
     in getmntent(3), which returns a structure of the following
     form:

     struct mntent {
            char  *mnt_fsname;  /* file system name */
            char  *mnt_dir;     /* file system path prefix */
            char  *mnt_type;    /* nfs, efs, or ignore */
            char  *mnt_opts;    /* ro, quota, etc. */
            int   mnt_freq;     /* dump frequency, in days */
            int   mnt_passno;   /* pass number on parallel fsck */
     };

     The fields are separated by white space, and a `#' as the
     first non-white character indicates a comment.

     The mnt_type field determines how the mnt_fsname, and
     mnt_opts fields will be interpreted.

     See fstab (4) for more information about file system types
     and options.

     If the mnt_type is specified as ``ignore'' the entry is
     ignored.  This is useful to show disk partitions which are
     currently not used.

     /etc/fstab is only read by programs, and not written; it is
     the duty of the system administrator to properly create and
     maintain this file.




                         Printed 1/15/91                   Page 1





MNTENT(4-SysV)      RISC/os Reference Manual       MNTENT(4-SysV)



FILES
     /etc/fstab

SEE ALSO
     getmntent(3).
     fstab(1M), fsck(1M), mount(1M) in the System Administrator's
     Reference Manual.

ORIGIN
     Sun Microsystems













































 Page 2                  Printed 1/15/91



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