devnm(1M)


devnm -- device name

Synopsis

/usr/sbin/devnm [name . . .]

Description

The devnm command identifies the special file associated with the mounted file system where the argument name resides. One or more names can be specified.

Files

/dev/dsk/*

/dev/rdsk/*

/etc/devnm.path

/etc/mnttab

/usr/lib/locale/locale/LC_MESSAGES/uxcore.abi
language-specific message file (see LANG on environ(5))

Usage

The devnm command is most commonly used by the brc command to construct a mount table entry for the root device. devnm uses the file /etc/devnm.path to determine the device search path. The default entries in this file are /dev/dsk and /dev/rdsk.

Examples

The command:

/usr/sbin/devnm /usr

produces:

   /dev/dsk/c0b0t0d0s3 /usr 
if /usr is mounted on /dev/dsk/c0b0t0d0s3.

References

brc(1M), mnttab(4)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.