4 # Copyright (C) 2004, Red Hat, Inc.
6 # Maintained by Sebastien Godard (sysstat [at] orange.fr)
8 # This file gives iostat, sar, and sadf a clue about how to find whole
9 # disk devices in /proc/diskstats.
10 # Authoritative source is: linux/Documentation/devices.txt or
11 # linux/Documentation/admin-guide/devices.txt
13 # line format, general record:
14 # major:name:ctrlpre:ctrlno:devfmt:devcnt:partpre:partcnt:description
16 # major: major # for device
17 # name: base of device name
18 # ctrlpre: string to use in generating controller designators
19 # eg: the c in c0d2p6, decimal formatting implied
20 # '*' means none or irrelevant
21 # 'x': exception... record contains a specific name
22 # for a specific minor #, stored in the ctrlno field
23 # ctrlno: which controller of this type is this
24 # devfmt: type of device naming convention
25 # a: alpha: xxa, xxb, ... xxaa, xxab, ... xxzz
26 # %string: string to use in generating drive designators,
27 # eg: the 'd' in c0d2p6 , decimal formatting implied
28 # d: no special translations (decimal formatting)
29 # devcnt: how many whole devs per major number
30 # partpre: appended to whole dev before part designator
31 # eg. the p in c0d2p6, decimal formatting implied
33 # partcnt: number of partitions per volume
34 # or minor # for exception records
35 # description: informative text
37 # line format, indirect record:
38 # major:base_major:ctrlno[:[desc]]
40 # major: major number of the device
41 # base_major: major number of the template for this type,
43 # ctrlno: controller number of this type
44 # desc: controller-specific description
45 # if absent the desc from base_major will be
46 # used in sprintf( buf, desc, ctrlno )
49 1:ram:*:0:d:256:*:1:RAM disks (ram0..ram255)
50 1:initrd:x:250:d:256:*:1:Initial RAM Disk (initrd)
53 2:fd:*:0:d:4:*:1:Floppy Devices fd0,fd1,fd2,fd3
55 3:hd:*:0:a:2:*:64:IDE - Controller %d
69 7:loop:*:0:d:256:*:1:Loop Devices
71 8:sd:*:0:a:16:*:16:SCSI - Controller %d
88 9:md:*:0:d:256:*:1:Metadisk (Software RAID) devices (md0..md255)
92 #11:sr:*:0:d:256:*:1:CDROM - CDROM (sr0..sr255) (deprecated)
93 11:scd:*:0:d:256:*:1:CDROM - CDROM (scd0..scd255)
95 #12:0:0:MSCDEX CD-ROM Callback
97 13:xd:*:0:a:2:*:64:8-bit MFM/RLL/IDE controller (xda, xdb)
99 #14:0:0:BIOS Hard Drive Callback
100 #15:0:0:CDROM - Sony CDU-31A/CDU-33A
101 #16:0:0:CDROM - Goldstar
102 #17:0:0:CDROM - Optics Storage
103 #18:0:0:CDROM - Sanyo
105 19:double:*:0:d:256:*:1:Compressed Disk (double0..double255)
107 #20:0:0:CDROM - Hitachi
109 21:mfm:*:0:a:2:*:64:Acorn MFM Hard Drive (mfma, mfmb)
113 #23:0:0:CDROM - Mistumi Proprietary
114 #24:0:0:CDROM - Sony CDU-535
115 #25:0:0:CDROM - Matsushita (Panasonic/Soundblaster) #1
116 #26:0:1:CDROM - Matsushita (Panasonic/Soundblaster) #2
117 #27:0:2:CDROM - Matsushita (Panasonic/Soundblaster) #3
118 #28:0:3:CDROM - Matsushita (Panasonic/Soundblaster) #4
119 # 28:0:0:! ACSI (Atari) Disk Not Supported
120 #29:0:0:CDROM - Aztech/Orchid/Okano/Wearnes
121 #30:0:0:CDROM - Philips LMS CM-205
122 #31:0:0:ROM/flash Memory Card
123 #32:0:0:CDROM - Phillips LMS CM-206
128 #35:0:0:Slow Memory RAM Disk
130 36:ed:*:0:a:2:*:64:MCA ESDI Hard Disk (eda, edb)
132 #37:0:0:Zorro II Ram Disk
133 #38:0:0:Reserved For Linux/AP+
134 #39:0:0:Reserved For Linux/AP+
135 #40:0:0:Syquest EZ135 Parallel Port Drive
136 #41:0:0:CDROM - MicroSolutions Parallel Port BackPack
137 #42:0:0:For DEMO Use Only
139 43:nb:*:0:d:256:*:1:Network Block devices (nb0..nb255)
140 44:ftl:*:0:a:16:*:16:Flash Translation Layer (ftla..ftlp)
141 45:pd:*:0:a:4:*:16:Parallel Port IDE (pda..pdd)
143 #46:0:0:CDROM - Parallel Port ATAPI
145 47:pf:*:0:d:256:*:1:Parallel Port ATAPI Disk Devices (pf0..pf255)
147 48:rd:/c:0:%d:32:p:8:Mylex DAC960 RAID, Controller %d
164 # 56, 57: see IDE, dev 3:
166 58:lvm:*:0:d:256:*:1:Logical Volume Manager (lvm0..lvm255)
168 #59:0:0:PDA Filesystem Device
169 #60:0:0:Local/Experimental Use
170 #61:0:0:Local/Experimental Use
171 #62:0:0:Local/Experimental Use
172 #63:0:0:Local/Experimental Use
175 # 65..71: See SCSI, dev 8:
177 72:ida/:c:0:%d:16:p:16:Compaq Intelligent Drive Array - Controller %d
186 80:i2o/hd:*:0:a:16:*:16:I2O Disk - Controller %d
195 # 88..91: see IDE, dev 3:
197 #92:0:0:PPDD Encrypted Disk
198 #93:0:0:NAND Flash Translation Layer not supported
200 94:dasd:*:0:a:64:*:4:IBM S/390 DASD Block Storage (dasda, dasdb, ...)
202 #95:0:0:IBM S/390 VM/ESA Minidisk
204 #97:0:0:CD/DVD packed writing devices not supported
206 98:ubd:*:0:d:256:*:1:User-mode Virtual Block Devices (ubd0..ubd256)
208 #99:0:0:JavaStation Flash Disk
211 101:amiraid/ar:*:0:d:16:p:16:AMI HyperDisk RAID (amiraid/ar0 - amiraid/ar15)
213 #102:0:0:Compressed Block Device
214 #103:0:0:Audit Block Device
216 104:cciss:/c:0:%d:16:p:16:HP SA 5xxx/6xxx (cciss) Controller %d
225 112:iseries/vd:*:0:a:32:*:8:IBM iSeries Virtual Disk (.../vda - .../vdaf)
227 #113:0:0:CDROM - IBM iSeries Virtual
231 120:emcpower:*:0:a:16:*:16:EMC PowerPath Unit %d
233 #160:sx8/:*:0:d:8:p:32:Promise SATA SX8 Unit %d
235 160:carmel/:*:0:d:8:p:32:Carmel 8-port SATA Disks (carmel/0 - carmel/7)
240 180:ub:*:0:a:32:p:8:USB block devices
242 #199:0:0:Veritas Volume Manager (VxVM) Volumes
244 #201:0:0:Veritas VxVM Dynamic Multipathing Driver
246 202:xvd:*:0:a:16:p:16:Xen Virtual Block Device
250 232:emcpower:*:0:a:16:*:16:EMC PowerPath Unit %d
267 # 240..254: LOCAL/Experimental
269 256:rfd:*:0:a:16:*:16:Resident Flash Disk Flash Translation Layer (rfda..rfdp)
271 257:ssfdc:*:0:a:8:*:8:SSFDC Flash Translation Layer filesystem (ssfdca..ssfdch)
273 258:blockrom:*:0:d:256:*:1:ROM/Flash Read-Only Translation Layer (blockrom0...)