setmnt(1M) setmnt(1M)
NAME
setmnt - establish mount table
SYNOPSIS
setmnt [-f mtab]
DESCRIPTION
setmnt creates the /etc/mtab table, which is used by the mount(1M) and
umount commands, among others. If given the -f option, it creates an
alternate mtab. setmnt reads standard input and writes an entry in
mtab(4) format for each line read. Input lines have the format:
fsname dir
where fsname is the name of the filesystem's special file (for example,
/dev/dsk/dks?d?s?) and dir is the mountpoint of that filesystem. Thus,
fsname and dir become the first two strings in the mount table entry.
FILES
/etc/mtab
SEE ALSO
devnm(1M), mount(1M).
BUGS
Problems may occur if fsname or dir is longer than 127 characters.
Page 1