1devprop(1M)             System Administration Commands             devprop(1M)
2
3
4

NAME

6       devprop - display device properties
7

SYNOPSIS

9       /sbin/devprop [-n device-path] [-vq] [-{b|i|l|s}] [property[...]]
10
11

DESCRIPTION

13       The  devprop  command  displays named device properties from the device
14       tree.
15
16
17       If a device path is specified on the  command  line,  devprop  displays
18       device properties for that device node.
19
20
21       The  output  formats, while Volatile, are patterned after those of prt‐
22       conf(1M).
23

OPTIONS

25       The following options are supported:
26
27       -b
28
29           The   properties   to   be   output   are   sequences   of    bytes
30           (DI_PROP_TYPE_BYTES).  -b, -i, -l, and -s are mutually exclusive of
31           one another.
32
33
34       -i
35
36           The properties to be output are integers (DI_PROP_TYPE_INT).
37
38
39       -l
40
41           The   properties    to    be    output    are    64-bit    integers
42           (DI_PROP_TYPE_INT64).
43
44
45       -s
46
47           The  properties to be output are strings (DI_PROP_TYPE_STRING) (the
48           default).
49
50
51       -n device-path
52
53           The path to a target device node  for  which  properties  are  dis‐
54           played.  The  default  path is that of the root node (equivalent to
55           specifying -n /).
56
57
58       -q
59
60           Specifies quoted output mode, in which string properties are output
61           surrounded by double quotation marks (").
62
63
64       -v
65
66           Specifies verbose mode, in which the name of the property is output
67           before its value.
68
69

OPERANDS

71       The following operand is supported:
72
73       property...
74
75           Name of the property to be displayed.
76
77

EXIT STATUS

79       0
80
81           No error occurred.
82
83
84       non-zero
85
86           An error occurred.
87
88

ATTRIBUTES

90       See attributes(5) for descriptions of the following attributes:
91
92
93
94
95       ┌─────────────────────────────┬─────────────────────────────┐
96       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
97       ├─────────────────────────────┼─────────────────────────────┤
98       │Availability                 │SUNWcsr                      │
99       ├─────────────────────────────┼─────────────────────────────┤
100       │Interface Stability          │See below.                   │
101       └─────────────────────────────┴─────────────────────────────┘
102
103
104       The command invocation and output are both Volatile.  The  location  of
105       the  utility is Committed.
106

SEE ALSO

108       prtconf(1M), libdevinfo(3LIB), attributes(5)
109
110
111
112SunOS 5.11                        26 Sep 2007                      devprop(1M)
Impressum