devnm(C)
devnm --
identify device name
Syntax
/etc/devnm [ -d | -r ] [ name ... ]
Description
devnm prints the names of the special device files
associated with the mounted filesystem names.
devnm takes the following options:
-d-
Print the device number of the filesystem.
-r-
Print the real device number of a block device.
bcheckrc(ADM)
uses devnm to construct mount table entries
for the root and boot devices.
idmkenv(ADM)
uses the -d and -r options to determine
if root and boot filesystems are separate.
If name is not specified, no action is performed.
Examples
Consider the following example:
/etc/devnm /u
If /dev/hd1 is mounted on /u, this produces the output:
/dev/hd1 /u
Files
/dev/-
device names
See also
bcheckrc(ADM),
idmkenv(ADM),
setmnt(ADM)
Standards conformance
devnm is conformant with
AT&T SVID Issue 2.
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003