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

NAME

6       devinfo - print device specific information
7

SYNOPSIS

9       /usr/sbin/devinfo -i device
10
11
12       /usr/sbin/devinfo -p device
13
14

DESCRIPTION

16       The  devinfo command is used to print device specific information about
17       disk devices on standard out. The command can only be used by the supe‐
18       ruser.
19

OPTIONS

21       -i    Prints the following device information:
22
23                 o      Device name
24
25                 o      Software version (not supported and prints as 0)
26
27                 o      Drive id number (not supported and prints as 0)
28
29                 o      Device blocks per cylinder
30
31                 o      Device bytes per block
32
33                 o      Number  of device partitions with a block size greater
34                        than zero
35
36
37       -p    Prints the following device partition information:
38
39                 o      Device name
40
41                 o      Device major and minor numbers (in hexadecimal)
42
43                 o      Partition start block
44
45                 o      Number of blocks allocated to the partition
46
47                 o      Partition flag
48
49                 o      Partition tag
50
51
52
53       This command is used by various other commands to  obtain  device  spe‐
54       cific   information for the making of file systems and determining par‐
55       tition  information. If the device cannot be opened, an  error  message
56       is reported.
57

OPERANDS

59       device    Device name.
60
61

EXIT STATUS

63       0    Successful operation.
64
65
66       2    Operation failed.
67
68

ATTRIBUTES

70       See attributes(5) for descriptions of the following attributes:
71
72
73
74
75       ┌─────────────────────────────┬─────────────────────────────┐
76       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
77       ├─────────────────────────────┼─────────────────────────────┤
78       │Availability                 │SUNWcsu                      │
79       └─────────────────────────────┴─────────────────────────────┘
80

SEE ALSO

82       prtvtoc(1M), attributes(5)
83
84
85
86SunOS 5.11                        8 May 1997                       devinfo(1M)
Impressum