Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mnttab(4) — HP-UX 5.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mount(1M)

setmnt(1M)

MNTTAB(4)  —  HP-UX

NAME

mnttab − mounted file system table

SYNOPSIS

#include <sys/types.h>
#include <mnttab.h>

DESCRIPTION

Mnttab resides in directory /etc and contains a table of devices, mounted by the mount(1M) command, in the following structure as defined by <mnttab.h>:

structmnttab {

char mt_dev[MNTLEN];
char mt_filsys[MNTLEN];
short mt_ro_flg;
time_t mt_time;

};

Each entry is (2 x MNTLEN + 6) bytes in length (MNTLEN is defined in /usr/include/mnttab.h).  The first MNTLEN bytes are the null-padded name of the place where the special file is mounted; the next MNTLEN bytes represent the null-padded root name of the mounted special file; the remaining 6 bytes contain the mounted special file’s read/write permissions and the date on which it was mounted.

The maximum number of entries in mnttab is based on the system parameter NMOUNT located in /usr/include/mnttab.h, which defines the number of allowable mounted special files. 

CAVEATS

The table is present only for programs to return information about the mounted file systems.  It does not matter to mount if there are duplicated entries nor to umount if a name cannot be found. 

SEE ALSO

mount(1M), setmnt(1M). 

Hewlett-Packard Company  —  Version B.1,  April 12, 1993

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