[NCLUG] refcount++ ?

Michael Dwyer mdwyer at sixthdimension.com
Wed Oct 31 10:04:55 MST 2001


The Coroner's Toolkit might also help.  It is often able to bring
files back from the dead.  The problem is that it relies on some
HEAVY voodoo... Good luck.  Also, it probably doesn't work for
ReiserFS.  Bummer, man.

http://www.fish.com/tct/

----- Original Message -----
From: "Eric Brunson" <brunson at level3.net>
To: <nclug at nclug.org>
Sent: Tuesday, October 30, 2001 11:19 PM
Subject: Re: [NCLUG] refcount++ ?


>
> Find the pids of the processes that have the files open and cd to
> /proc/<pid>/fd.  0, 1 and 2 are stdin, out and err for that process
> and there will be a link to every other file the process has open.  If
> you can't figure out how to reattach the inode you can at least cat
> the contents into a new file.
>
> * Benson Chow (blc at q.dyndns.org) [011030 21:32]:
> > So I have two files that are still referenced in memory so the
inodes
> > still exist on the disk... Is there a way to reattach those inodes
to a real
> > file somewhere?
> >
> > Sadly, reiserfs might be a problem...  but maybe not...





More information about the NCLUG mailing list