Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mnttab(4) — HP-UX 7.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mount(1M)

setmnt(1M)

getmntent(3X)

checklist(4)

MNTTAB(4)

NAME

mnttab − mounted file system table

SYNOPSIS

#include <mnttab.h>

DESCRIPTION

Mnttab resides in directory /etc and contains a table of devices, mounted by the mount(1M) command. The file contains a line of information for each mounted filesystem, structurally identical to the contents of /etc/checklist, described in checklist(4).

There are a number of lines of the form:

special_file_name dir type opts freq passno mount_time

For example:

/dev/dsk/c0d0s0  /  hfs  rw  0  1  537851723

The file is accessed by programs using getmntent(3X), and by the system administrator using a text editor.

Mount_time contains the time the file system was mounted using mount(1M).  The value is the number of seconds since 00:00:00 GMT, January 1, 1970; see time(2). 

WARNINGS

The table is provided only as a means for programs to return information about mounted file systems.  Duplicate or missing entries in mnttab cannot impair the correct operation of mount and umount.

Mnttab is initialized when the system starts multi-user operation, and may not accurately reflect what was mounted while in single-user mode if the system was first booted as a single-user system instead of multi-user. 

AUTHOR

Mnttab was developed by the University of California, Berkeley, Sun Microsystems, Inc., and HP. 

FILES

/etc/mnttab

SEE ALSO

mount(1M), setmnt(1M), getmntent(3X), checklist(4). 

Hewlett-Packard Company  —  HP-UX Release 7.0: Sept 1989

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