1devattr(1M) System Administration Commands devattr(1M)
2
3
4
6 devattr - display device attributes
7
9 devattr [-v] device [attribute]...
10
11
13 devattr displays the values for a device's attributes. The display can
14 be presented in two formats. Used without the -v option, only the
15 attribute values are shown. Used with the -v option, the attributes
16 are shown in an attribute=value format. When no attributes are given
17 on the command line, all attributes for the specified device are dis‐
18 played in alphabetical order by attribute name. If attributes are given
19 on the command line, only those attributes are shown, displayed in
20 command line order.
21
23 The following options are supported:
24
25 -v Specifies verbose format. Attribute values are displayed in an
26 attribute=value format.
27
28
30 The following operands are supported:
31
32 attribute Defines which attribute, or attributes, should be shown.
33 Default is to show all attributes for a device. See the
34 putdev(1M) manual page for a complete listing and descrip‐
35 tion of available attributes.
36
37
38 device Defines the device whose attributes should be displayed.
39 Can be the pathname of the device or the device alias.
40
41
43 The following exit values are returned:
44
45 0 successful completion.
46
47
48 1 Command syntax was incorrect, invalid option was used, or an
49 internal error occurred.
50
51
52 2 Device table could not be opened for reading.
53
54
55 3 Requested device could not be found in the device table.
56
57
58 4 Requested attribute was not defined for the specified device.
59
60
62 /etc/device.tab
63
65 See attributes(5) for descriptions of the following attributes:
66
67
68
69
70 ┌─────────────────────────────┬─────────────────────────────┐
71 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
72 ├─────────────────────────────┼─────────────────────────────┤
73 │Availability │SUNWcsu │
74 └─────────────────────────────┴─────────────────────────────┘
75
77 getdev(1M), putdev(1M), attributes(5)
78
79
80
81SunOS 5.11 5 Jul 1990 devattr(1M)