Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ devnm(8) — AIX PS/2 1.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought



DEVNM(8,C)                  AIX Commands Reference                   DEVNM(8,C)



-------------------------------------------------------------------------------
devnm



PURPOSE

Names a device.

SYNTAX


devnm -- path --|
       ^      |
       +------+


DESCRIPTION

The devnm command reads path, identifies the special file associated with the
mounted file system where path resides, and writes the special file name to
standard output.  Each path must be a full path name and must name a file in a
file system mounted on the local cluster site.

The most common use of the devnm command is to construct a mount table entry
for the root device during system initialization.

EXAMPLES

  1. To identify the device on which a file resides:

      devnm /diskette0/bob/textfile

    This command displays the name of the special device file on which
    "/diskette0/bob/textfile" resides.  If a diskette is mounted as
    "/diskette0", the devnm command displays:

      fd0  /diskette0/bob/textfile

    This means that "/diskette0/bob/textfile" resides on the diskette drive
    /dev/fd0.

  2. To identify the device on which a file system resides:

      devnm  /

    This command displays the name of the device on which the root file system
    (/) resides.  The following list appears on the screen:

      hd1  /

    This means that / resides on /dev/hd1.



Processed November 8, 1990        DEVNM(8,C)                                  1





DEVNM(8,C)                  AIX Commands Reference                   DEVNM(8,C)




FILES

/dev            Directory containing device special files.
/etc/filesystems


















































Processed November 8, 1990        DEVNM(8,C)                                  2



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026