Re: detect all hard-drives (maybe all storage devices)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jason L Tibbitts III wrote:
"FA" == Florin Andrei <florin@xxxxxxxxxxxxxxx> 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

--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux