setmnt — Establish Mount Table

Synopsis

/usr/sbin/setmnt

Description

The setmnt command creates the /etc/mnttab table that is needed for both the mount and umount commands. setmnt reads standard input and creates a mnttab entry for each line. Input lines have the following format.

						filesys node
					

where filesys is the name of the file system's special file (such as /dev/dsk/c?d?s?) and node is the root name of that file system. Thus, filesys and node become the first two strings in the mount table entry.

The setmnt command is run automatically when a system is booted; there is no reason to run the command manually.

Files

/etc/mnttabMount table.

Attributes

See attributes(5) for descriptions of the following attributes.

Attribute TypeAttribute ...

Get Solaris™ 8 System Administrator's Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.