[CentOS] Finding Disks

John Summerfield debian at herakles.homelinux.org
Sun Mar 18 20:23:51 UTC 2007


Barry Brimer 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.
> 
> 
> /sbin/fdisk -l

cat /proc/partitions
Also have a poke around in
/sys/block/

-- 

Cheers
John

-- spambait
1aaaaaaa at coco.merseine.nu  Z1aaaaaaa at coco.merseine.nu

Please do not reply off-list



More information about the CentOS mailing list