Re: [Fedora] RE: How many drives?

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

 



Miner, Jonathan W (CSC) (US SSA) wrote:
fdisk -l | egrep '^Disk /dev/.*[hs]d' | wc -l
   Actually.....

> fdisk -l | egrep '^Disk /dev/.*[hs]d' | wc -l
Disk /dev/md0 doesn't contain a valid partition table
Disk /dev/md1 doesn't contain a valid partition table
Disk /dev/md2 doesn't contain a valid partition table
Disk /dev/md3 doesn't contain a valid partition table
Disk /dev/md4 doesn't contain a valid partition table
Disk /dev/md5 doesn't contain a valid partition table
Disk /dev/md6 doesn't contain a valid partition table
Disk /dev/md7 doesn't contain a valid partition table
Disk /dev/md8 doesn't contain a valid partition table
Disk /dev/md9 doesn't contain a valid partition table
Disk /dev/dm-0 doesn't contain a valid partition table
Disk /dev/dm-1 doesn't contain a valid partition table
5


Granted I got my answer at the bottom there....but...you get the idea. :)

--
W | It's not a bug - it's an undocumented feature.
 +--------------------------------------------------------------------
 Ashley M. Kirchner <mailto:ashley@xxxxxxxxxx>   .   303.442.6410 x130
 IT Director / SysAdmin / Websmith             .     800.441.3873 x130
 Photo Craft Imaging                       .     3550 Arapahoe Ave. #6
http://www.pcraft.com ..... . . . Boulder, CO 80303, U.S.A.

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux