From owner-freebsd-hackers Mon Oct 27 15:27:58 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA05428 for hackers-outgoing; Mon, 27 Oct 1997 15:27:58 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from freebie.lemis.com (gregl1.lnk.telstra.net [139.130.136.133]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA05417 for ; Mon, 27 Oct 1997 15:27:40 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.8.7/8.8.5) id JAA14790; Tue, 28 Oct 1997 09:57:04 +1030 (CST) Message-ID: <19971028095703.58858@lemis.com> Date: Tue, 28 Oct 1997 09:57:03 +1030 From: Greg Lehey To: James Buszard-Welcher Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Recovering Lost Inode? References: <3454F51C.C37E37EB@reef.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.84e In-Reply-To: <3454F51C.C37E37EB@reef.com>; from James Buszard-Welcher on Mon, Oct 27, 1997 at 02:10:04PM -0600 Organisation: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 WWW-Home-Page: http://www.lemis.com/~grog Fight-Spam-Now: http://www.cauce.org Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Mon, Oct 27, 1997 at 02:10:04PM -0600, James Buszard-Welcher wrote: > Sorry, not a FreeBSD *specific* question, but it could be... > I'm not sure what would be the appropriate group. I'm sure that > if someone know this, it is someone on this list. > > I had a daemon writing to a file... I then rm-ed the file, but the > daemon still had the filehandle and was writing to it. > > Well... I killed the daemon, which had been writing to this invisible > inode. > > Is there ANY way (fsdb, fsck, some great perl hack) to find out what > this inode was and link it back into some directory so I can get at > the file contents? Not after you stopped the daemon. Then the link count goes to 0 and the file is removed. Greg