Re: Finding Disks

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



Charles Sliger wrote:

Is there a command that will list the disks that the system currently has?

The df and mount commands only display info about filesystems.


cat /proc/scsi/scsi lists all 'scsi' devices (including native SATA, fiberchannel, and other such things), while cat /proc/ide/hd*/model will list IDE devices (including SATA running in emulation mode)


[root@rp18 ~]# cat /proc/ide/hd*/model
SAMSUNG CDRW/DVD SN-324F
[root@rp18 ~]# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
 Vendor: ATA      Model: ST3250823AS      Rev: 3.06
 Type:   Direct-Access                    ANSI SCSI revision: 05
Host: scsi0 Channel: 00 Id: 01 Lun: 00
 Vendor: ATA      Model: ST3250823AS      Rev: 3.06
 Type:   Direct-Access                    ANSI SCSI revision: 05


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux