Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ setmnt(1M) — GL2 W2.5r1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mtab(4)

SETMNT(1M)  —  Silicon Graphics

NAME

setmnt − establish mount table

SYNOPSIS

/etc/setmnt [-f file

DESCRIPTION

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

filesys node

where filesys is the name of the file system’s special file (e.g., “rp??”) and node is the root name of that file system.  The -f option may be used to specify an output file other than /etc/mtab. 

EXAMPLE

/etc/devnm / | grep -vv swap | grep -v root | /etc/setmnt

will put an entry for the root file system and the device on which it is mounted into the file /etc/mtab , except if it is mounted on a device named "swap" or "root". 

FILES

/etc/mtab

SEE ALSO

mtab(4). 

Version 2.5r1  —  October 29, 1986

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