Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Oct 2002 00:37:04 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        "David E. Cross" <crossd@cs.rpi.edu>
Cc:        freebsd-fs@freebsd.org, guptar@cs.rpi.edu
Subject:   Re: UFS, Inode question
Message-ID:  <3DA28B20.9845BE56@mindspring.com>
References:  <200210080439.g984drE16529@pegasus.cs.rpi.edu>  <3DA2646B.45D024AB@mindspring.com> <200210080513.g985Dxn16691@pegasus.cs.rpi.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
"David E. Cross" wrote:
> Would, under any circumstances, an inode with 0 reference count, and not
> linked in any directory, with no blocks in any of its block-allocation fields
> be a filesystem error?

What do you mean "error"?  Yes, fsck will complain about it, and
yes, it should never happen in normal operation, particularly
following a successful, normal shotdown, in which the FS clean
bit gets set.

I think "man clri" would be helpful to you at this point; you
may also want to play around with running it on an FS you don't
care about to see what happens... try it with several hard links
to the inode being cleared, and try it with only one.

-- Terry

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-fs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DA28B20.9845BE56>