RE: [Fedora] RE: How many drives?

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

 





-----Original Message-----
From:	fedora-list-bounces@xxxxxxxxxx on behalf of Ashley M. Kirchner
Sent:	Thu 09/27/2007 12:58 PM
To:	For users of Fedora
Cc:	
Subject:	Re: [Fedora] RE: How many drives?

Miner, Jonathan W (CSC) (US SSA) wrote:

 > fdisk -l | egrep '^Disk /dev/.*[hs]d' | wc -l
Disk /dev/md0 doesn't contain a valid partition table
[..snip..]
---------------------------

Just redirect stderr...

fdisk -l 2> /dev/null | egrep '^Disk /dev/.*[hs]d' | wc -l

<<winmail.dat>>


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

  Powered by Linux