On Thu, 23 Mar 2006, Shawn Fertch wrote:
> hda: WDC WD800JB-00CRA1, ATA DISK drive

$ cat /proc/ide/hda/model

> scsi0 : ioc0: LSISAS1064, FwRev=01040000h, Ports=1, MaxQ=203, IRQ=209
>  Vendor: FUJITSU   Model: MAV2073RCSUN72G   Rev: 0301
>  Type:   Direct-Access                      ANSI SCSI revision: 04
> Attached scsi disk sda at scsi0, channel 0, id 2, lun 0
>  Vendor: FUJITSU   Model: MAV2073RCSUN72G   Rev: 0301
>  Type:   Direct-Access                      ANSI SCSI revision: 04


$ cat /proc/scsi/scsi

> I had thought of writing a script to gather the information on system 
> bootup, or to grep it out of /var/log/dmesg.  But, I was looking for 
> commands to issue to gather it in case someone had installed a hot-plug 
> disk without rebooting.

hwinfo also rules.

------------------------------------------------------------------------
| nate carlson | natecars at natecarlson.com | http://www.natecarlson.com |
|       depriving some poor village of its idiot since 1981            |
------------------------------------------------------------------------