devnm(8) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

devnm(8)

devnm(8)                System Administration Commands                devnm(8)

NAME
       devnm - device name

SYNOPSIS
       /usr/sbin/devnm name...


       /usr/sbin/devnm -s name

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

OPTIONS
       The following options are supported:

       -s

           Short  mode.  Outputs  only the name of the special file. More than
           one name argument not supported.


EXAMPLES
       Example 1 Using the devnm Command



       Assuming the current boot environment is S11.4_87 and the boot environ‐
       ment S11.4_87.test is mounted on /mnt:



         $ devnm /bin /var /mnt
         rpool/ROOT/S11.4_87 /bin
         rpool/ROOT/S11.4_87/var /var
         rpool/ROOT/S11.4_87.test /mnt



       Example 2 Using the devnm -s Command



       Assuming that / is mounted on a ZFS root pool:



         $ /usr/sbin/devnm -s /
         rpool/ROOT/S11.4_87



EXIT STATUS
       0     Successful completion.


       >0    An error occurred.


FILES
       /dev/dsk/*


       /etc/mnttab


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:

       tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE  TYPEAT‐
       TRIBUTE VALUE _ Availabilitysystem/core-os _ Interface StabilityCommit‐
       ted


SEE ALSO
       mnttab(5), attributes(7)

HISTORY
       Support  for  the -s option was added in the Oracle Solaris 11.4.87 re‐
       lease.

Oracle Solaris 11.4               13 Aug 2025                         devnm(8)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3