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

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

 



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

-- 
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