Quote:
Originally Posted by PhillipHuang
# cat /sys/block/sda/device/vendor
Regards,
Phillip
|
There's also a "model" file in the same directory. I wonder if there is a database of these things?
You can also use the lshw program if it is installed, for example:
Code:
# lshw -class disk
*-disk
description: SCSI Disk
product: HTS548080M9AT00
vendor: ATA
physical id: 0
bus info: scsi@0:0.0.0
logical name: /dev/sda
version: MG4O
serial: MRL425L4J0WL1B
size: 74GB
capabilities: partitioned partitioned:dos
configuration: ansiversion=5
*-cdrom
description: DVD reader
product: DVD+RW ND-5100A
vendor: _NEC
physical id: 1
bus info: scsi@1:0.0.0
logical name: /dev/cdrom
logical name: /dev/dvd
logical name: /dev/scd0
logical name: /dev/sr0
version: 10AC
serial: [_NEC DVD+RW ND-5100A 10AC03071400
capabilities: removable audio cd-r cd-rw dvd
configuration: ansiversion=5 status=open