devnm Path ...
The devnm command reads the Path parameter, identifies the special file associated with the mounted file system where the Path parameter resides, and writes the special file name to standard output. Each Path parameter must be a full path name.
The most common use of the devnm command is by the /etc/rc command file to construct a mount table entry for the root device.
Note: This command is for local file systems only.
devnm /diskette0/bob/textfileThis displays the name of the special device file on which the /diskette0/bob/textfile file resides. If a diskette is mounted as the /diskette0 device, the devnm command displays:
fd0 /diskette0/bob/textfile rfd0 /diskette0/bob/textfileThis means the /diskette0/bob/textfile file resides on the /dev/fd0 diskette drive.
devnm /This displays the name of the device on which the root file system(/) resides. The following list is displayed on the screen:
hd0 /This means that the root file system (/) resides on the /dev/hd0 device.
/dev | Specifies the directory. |
/usr/sbin/devnm | Contains the devnm command. |
The rc command.