Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ setmnt(1M) — HP-UX 6.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

devnm(1M)

mount(1M)

mnttab(4)

SETMNT(1M)  —  HP-UX

NAME

setmnt − establish mount table /etc/mnttab

SYNOPSIS

/etc/setmnt

DESCRIPTION

Setmnt creates the /etc/mnttab table (see mnttab(4)), which is needed for both the mount(1M) and umount (see mount(1M)) commands. Setmnt reads the standard input and creates an entry in /etc/mnttab for each line.  Input lines have the format:

filesys node

where filesys is the name of the file system’s "special file" (for example, /dev/dsk/c0d0s2) and node is the root name of that file system.  Thus filesys and node become the first two strings in the mount table entry. 

WARNINGS

Filesys and node are truncated to MNTLEN bytes.  MNTLEN is devined in <sys/mnttab.h>. 

Setmnt silently enforces an upper limit on the maximum number of /etc/mnttab entries. 

It is unwise to use setmnt to create false entries for mount(1M) and umount.

FILES

/etc/mnttab table of mounted file systems

SEE ALSO

devnm(1M), mount(1M), mnttab(4). 

Hewlett-Packard Company  —  Version B.1,  May 11, 2021

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