detect all hard-drives (maybe all storage devices)

Jason L Tibbitts III tibbs at math.uh.edu
Fri Mar 2 23:51:50 UTC 2007


>>>>> "FA" == Florin Andrei <florin at andrei.myip.org> writes:

FA> Using the Fedora 6.91 Live CD, is there a simple way to do a query
FA> from a script and obtain a list with all the hard-drives in the
FA> system? (PATA, SATA, SCSI)

> lshal -s|grep '^storage'
storage_model_DVD_16X
storage_model_LITE_ON_DVDRW_SHM_165H6S
storage_serial_SATA_ST380811AS_5PS0DY4N
storage_serial_SATA_ST3500641AS_3PM06NY8

I've no idea if lshal is on the livecd.

 - J<




More information about the fedora-devel-list mailing list