Where is documentation of /sys/block/*/device/type ?
I need information about this file .
cat /sys/block/*/device/type
0
0
5
what is this numbers meaning ?
This type entry exports the type field in the scsi_device structure (using this setup), and shows the SCSI peripheral device type. 0 corresponds to direct-access block devices, 5 to CD/DVD-ROM drives.