Lshw'ye bir alternatif:
hwinfo --disk
Ayrıca, yalnızca / dev ve model adıyla ilgileniyorsanız ve tüm ayrıntılarla ilgilenmiyorsanız, '--short' seçeneği vardır.
hal9k:~ # hwinfo --disk --short
disk:
/dev/sda Hitachi HDT72502
/dev/sdb Generic USB SD Reader
/dev/sdc Generic USB CF Reader
/dev/sdd Generic USB SM Reader
/dev/sde Generic USB MS Reader
Uzun versiyon size lshw'den daha fazla ayrıntı verir:
hal9k:~ # hwinfo --disk
16: IDE 200.0: 10600 Disk
[Created at block.243]
UDI: /org/freedesktop/Hal/devices/storage_serial_SATA_Hitachi_HDT7250_VFL104R62EUUTX
Unique ID: 3OOL.JSHCimqnHw6
Parent ID: CvwD.epf1vnVqQVC
SysFS ID: /class/block/sda
SysFS BusID: 2:0:0:0
SysFS Device Link: /devices/pci0000:00/0000:00:05.0/host2/target2:0:0/2:0:0:0
Hardware Class: disk
Model: "Hitachi HDT72502"
Vendor: "Hitachi"
Device: "HDT72502"
Revision: "V5DO"
Serial ID: "VFL104R62EUUTX"
Driver: "sata_sis", "sd"
Driver Modules: "sata_sis"
Device File: /dev/sda
Device Files: /dev/sda, /dev/disk/by-id/scsi-SATA_Hitachi_HDT7250_VFL104R62EUUTX, /dev/disk/by-id/ata-Hitachi_HDT725025VLA380_VFL104R62EUUTX, /dev/disk/by-path/pci-0000:00:05.0-scsi-0:0:0:0, /dev/disk/by-id/edd-int13_dev80
Device Number: block 8:0-8:15
BIOS id: 0x80
Geometry (Logical): CHS 30401/255/63
Size: 488397168 sectors a 512 bytes
Geometry (BIOS EDD): CHS 484521/16/63
Size (BIOS EDD): 488397168 sectors
Geometry (BIOS Legacy): CHS 1023/255/63
Config Status: cfg=no, avail=yes, need=no, active=unknown
Attached to: #9 (IDE interface)
[...]
DÜZENLE:
Paketlerin bulunabilirliği gelince. OpenSUSE 11.1 kullanıyorum. hwinfo standart veri havuzunda bulunurken, lshw yalnızca resmi olmayanlardan temin edilebilir .