Subject: Re: FFS reliability problems
To: None <tech-kern@netbsd.org>
From: Thor Lancelot Simon <tls@rek.tjls.com>
List: tech-kern
Date: 06/05/2002 17:10:02
On Wed, Jun 05, 2002 at 09:32:10AM -0400, gabriel rosenkoetter wrote:
> On Tue, Jun 04, 2002 at 10:33:24PM +0200, Manuel Bouyer wrote:
> > But in this case you won't have the box reboot and let it run fsck.
> > Yoy will boot single user and play with fsdb.
> > fsck is the wrong tool for this.
> 
> I have a feeling trusting a clean boot to single user and fsdb(8) to
> make your world okay will lose, depending what our unmount(2) does.
> (No, I haven't checked. Yes, I should have, but I'm at work right
> now.)
> 
> So then, we're back to punching the reset button, after which you
> probably can't even get / mounted without a fsck(8). fsck(8),

...if by "probably" you mean "if you're mysteriously prevented from using
single-user mode by some Strange Cosmic Force", that is.

If I delete a file, I do *not* want the system to magically reappear it
in /lost+found just because the system crashed while something had it
open.  I would be extremely strongly opposed to a change to fsck's
default behaviour that caused that, and I believe that many others would
as well.