MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


System Administration Commands                        devprop(1M)



NAME
     devprop - display device properties

SYNOPSIS
     /sbin/devprop [-n device-path] [-vq] [-{bils}] [property[...]


DESCRIPTION
     The devprop command displays named  device  properties  from
     the device tree.


     If a device path is specified on the command  line,  devprop
     displays device properties for that device node.


     The output formats,  while  Volatile,  are  patterned  after
     those of prtconf(1M).

OPTIONS
     The following options are supported:

     -b

         The properties to  be  output  are  sequences  of  bytes
         (DIPROPTYPEBYTES).  -b,  -i,  -l, and -s are mutually
         exclusive of one another.


     -i

         The   properties   to    be    output    are    integers
         (DIPROPTYPEINT).


     -l

         The  properties  to  be  output  are   64-bit   integers
         (DIPROPTYPEINT64).


     -s

         The   properties    to    be    output    are    strings
         (DIPROPTYPESTRING) (the default).


     -n device-path

         The path to a target device node  for  which  properties
         are displayed. The default path is that of the root node
         (equivalent to specifying -n /).



SunOS 5.11          Last change: 26 Sep 2007                    1






System Administration Commands                        devprop(1M)



     -q

         Specifies quoted output mode, in which string properties
         are output surrounded by double quotation marks (").


     -v

         Specifies verbose mode, in which the name  of  the  pro-
         perty is output before its value.


OPERANDS
     The following operand is supported:

     property...

         Name of the property to be displayed.


EXIT STATUS
     0

         No error occurred.


     non-zero

         An error occurred.


ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     Availability                 SUNWcsr                     
    
     Interface Stability          See below.                  
    



     The command invocation and output  are  both  Volatile.  The
     location of the  utility is Committed.

SEE ALSO




SunOS 5.11          Last change: 26 Sep 2007                    2






System Administration Commands                        devprop(1M)



     prtconf(1M), libdevinfo(3LIB), attributes(5)






















































SunOS 5.11          Last change: 26 Sep 2007                    3



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™