<div>I'm looking for a way to gather specific HDD info such as what shows up in dmesg:</div>
<div>&nbsp;</div>
<div>IDE:</div>
<div>hda: WDC WD800JB-00CRA1, ATA DISK drive<br>hdb: CD-ROM CMD5X11, ATAPI CD/DVD-ROM drive<br>blk: queue c040c460, I/O limit 4095Mb (mask 0xffffffff)<br>ide0 at 0x1f0-0x1f7,0x3f6 on irq 14<br>hda: attached ide-disk driver.
<br>hda: host protected area =&gt; 1<br>hda: 156301488 sectors (80026 MB) w/8192KiB Cache, CHS=9729/255/63, UDMA(100)<br>hdb: attached ide-cdrom driver.<br>hdb: ATAPI 52X CD-ROM drive, 128kB Cache, UDMA(33)<br>Uniform CD-ROM driver Revision: 
3.12<br>&nbsp;</div>
<div>Or SCSI:</div>
<div>scsi0 : ioc0: LSISAS1064, FwRev=01040000h, Ports=1, MaxQ=203, IRQ=209<br>&nbsp; Vendor: FUJITSU&nbsp;&nbsp; Model: MAV2073RCSUN72G&nbsp;&nbsp; Rev: 0301<br>&nbsp; Type:&nbsp;&nbsp; Direct-Access&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ANSI SCSI revision: 04<br>SCSI device sda: 143374738 512-byte hdwr sectors (73408 MB)
<br>SCSI device sda: drive cache: write through<br>&nbsp;sda: sda1 sda2 sda3 sda4 &lt; sda5 sda6 sda7 sda8 &gt;<br>Attached scsi disk sda at scsi0, channel 0, id 2, lun 0<br>&nbsp; Vendor: FUJITSU&nbsp;&nbsp; Model: MAV2073RCSUN72G&nbsp;&nbsp; Rev: 0301
<br>&nbsp; Type:&nbsp;&nbsp; Direct-Access&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ANSI SCSI revision: 04<br>SCSI device sdb: 143374738 512-byte hdwr sectors (73408 MB)<br>SCSI device sdb: drive cache: write through<br>&nbsp;sdb: sdb1 sdb2 sdb3 sdb4 &lt; sdb5 sdb6 sdb7 sdb8 &gt;
<br>Attached scsi disk sdb at scsi0, channel 0, id 3, lun 0<br>&nbsp;</div>
<div>&nbsp;</div>
<div>What I'm mainly after is where the make/model information comes from.&nbsp; I dug around in the /proc filesystem but didn't see much.&nbsp; Googling turned up a lot of information, but not what I'm looking for specifically.&nbsp; fdisk -l only provides the geometry and layout of the disk.
</div>
<div>&nbsp;</div>
<div>I had thought of writing a script to gather the information on system bootup, or to grep it out of /var/log/dmesg.&nbsp; But,&nbsp;I was looking for commands to issue to gather it in case someone had installed a hot-plug disk without rebooting.
</div>
<div>&nbsp;</div>
<div>Any insight to this?</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>Thanks!</div>
<div><br>-- <br>-Shawn<br><br>-Nemo me impune lacessit.&nbsp;&nbsp;Ne Obliviscaris.. <br>&nbsp;</div>