Date: Sat, 28 Jul 2001 17:07:52 -0500 From: Michael Harnois <mdharnois@home.com> To: Kirk McKusick <mckusick@mckusick.com> Cc: Ian Dowse <iedowse@maths.tcd.ie>, freebsd-current@freebsd.org Subject: Re: filesystem errors Message-ID: <861yn0907b.fsf@mharnois.workgroup.net> In-Reply-To: <200107281948.f6SJmso06543@beastie.mckusick.com> (Kirk McKusick's message of "Sat, 28 Jul 2001 12:48:54 -0700") References: <200107281948.f6SJmso06543@beastie.mckusick.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 28 Jul 2001 12:48:54 -0700, Kirk McKusick <mckusick@mckusick.com> said:
> FFS will never set a directory ino == 0 at a location other than
> the first entry in a directory, but fsck will do so to get rid
> of an unwanted entry. The readdir routines know to skip over an
> ino == 0 entry no matter where in the directory it is found, so
> applications will never see such entries. It would be a fair
> amount of work to change fsck to `do the right thing', as the
> checking code is given only the current entry with which to
> work. I am of the opinion that you should simply accept that
> mid-directory block ino == 0 is acceptable rather than trying to
> `fix' the problem.
I don't have sufficient technical knowledge to know which of you is
right; I would just ask that filesystem corruption caused by
restarting from a hung system not cause a panic <g>.
--
Michael D. Harnois bilocational bivocational
Washburn, Iowa Minneapolis, Minnesota
Hanlon's Razor: Never attribute to malice
that which is adequately explained by stupidity.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?861yn0907b.fsf>
