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

RE: [Fedora] RE: How many drives?





-----Original Message-----
From:	fedora-list-bounces redhat com 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>>


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