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