From owner-freebsd-fs Tue Oct 8 0:38:18 2002 Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D2E4637B401 for ; Tue, 8 Oct 2002 00:38:17 -0700 (PDT) Received: from avocet.mail.pas.earthlink.net (avocet.mail.pas.earthlink.net [207.217.120.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D7B843E8A for ; Tue, 8 Oct 2002 00:38:17 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0058.cvx21-bradley.dialup.earthlink.net ([209.179.192.58] helo=mindspring.com) by avocet.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17yowY-0001qz-00; Tue, 08 Oct 2002 00:38:15 -0700 Message-ID: <3DA28B20.9845BE56@mindspring.com> Date: Tue, 08 Oct 2002 00:37:04 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: "David E. Cross" Cc: freebsd-fs@freebsd.org, guptar@cs.rpi.edu Subject: Re: UFS, Inode question References: <200210080439.g984drE16529@pegasus.cs.rpi.edu> <3DA2646B.45D024AB@mindspring.com> <200210080513.g985Dxn16691@pegasus.cs.rpi.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org "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