Subject: Re: RFC: progressbars for fsck_ffs
To: Soren S. Jorvang <soren@wheel.dk>
From: Chris Gilbert <chris@netbsd.org>
List: tech-userlevel
Date: 11/18/2002 09:05:05
On Mon, 18 Nov 2002 01:54:37 +0100
"Soren S. Jorvang" <soren@wheel.dk> wrote:

> On Sun, Nov 17, 2002 at 11:55:42PM +0000, Chris Gilbert wrote:
> > /dev/rwd1a: phase 1
> > |*****************************************************| 100%
> > /dev/rwd1a: phase 2
> > |*****************************************************| 100%
> 
> > The stars obviously filling up as it goes.
> 
> I think this looks a little too "busy".
> 
> I would prefer something more like an "wd0a: phase 1, 100000 nodes
> checked' for every <large number> of operations or every minute or
> so.

I assume you really mean:
wd0a: phase 1, 100000 of 312342 nodes checked
that's just as feasible, but I see no reason to do that, my aim was to
indicate just how much of the disk had been checked.  I'm just doing a
patch that is informative to current status, maybe it shouldn't say the
%age, but the total number to hit, but then it makes it that little bit
more complex, and I've always prefered simplicity.

Chris