Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Oct 1997 09:57:03 +1030
From:      Greg Lehey <grog@lemis.com>
To:        James Buszard-Welcher <james@reef.com>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Recovering Lost Inode?
Message-ID:  <19971028095703.58858@lemis.com>
In-Reply-To: <3454F51C.C37E37EB@reef.com>; from James Buszard-Welcher on Mon, Oct 27, 1997 at 02:10:04PM -0600
References:  <3454F51C.C37E37EB@reef.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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