detect all hard-drives (maybe all storage devices)
Denis Leroy
denis at poolshark.org
Sat Mar 3 00:57:23 UTC 2007
Jason L Tibbitts III wrote:
>>>>>> "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.
I like to do
# cat /sys/block/*/device/model
but
# kudzu -p CDROM
is probably better
More information about the fedora-devel-list
mailing list