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

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



On Fri, 2007-03-02 at 14:54 -0800, Florin Andrei wrote:
> Using the Fedora 6.91 Live CD, is there a simple way to do a query from 
> a script and obtain a list with all the hard-drives in the system? 
> (PATA, SATA, SCSI)

$ ls -lI "*-part?" /dev/disk/by-id/
total 0
lrwxrwxrwx 1 root root 9 Mar  2 15:34 ata-Maxtor_53073H4_M0000000 -> ../../hdc
lrwxrwxrwx 1 root root 9 Mar  2 15:34 ata-Maxtor_6L250R0_L60WLQ7H -> ../../hda
lrwxrwxrwx 1 root root 9 Mar  2 15:34 usb-Maxtor_5_T040H4_DEF107679C83 -> ../../sda

Attachment: signature.asc
Description: This is a digitally signed message part


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