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

RE: How many drives?





-----Original Message-----
From:	fedora-list-bounces redhat com on behalf of Ashley M. Kirchner
Sent:	Thu 09/27/2007 10:53 AM
To:	For users of Fedora Core releases
Cc:	
Subject:	How many drives?


    What's a quick (even dirty) way of finding out how many HDs a system 
has?  
----------------------------

Quick, and dirty...

fdisk -l | grep '^Disk ' | wc -l

This will fail to report correctly on systems with embedded hardware RAID controllers, also mis-counts on systems with software volume management.

<<winmail.dat>>


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