Date: Mon, 05 Feb 2007 07:54:58 -0800 From: Frank Mayhar <frank@exit.com> To: Ivan Voras <ivoras@fer.hr> Cc: freebsd-hackers@FreeBSD.org Subject: Re: UFS2 version of ffsrecov. Message-ID: <1170690898.62703.5.camel@jill.exit.com> In-Reply-To: <eq74bm$ga8$1@sea.gmane.org> References: <1170530417.20968.14.camel@jill.exit.com> <eq74bm$ga8$1@sea.gmane.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2007-02-05 at 12:27 +0100, Ivan Voras wrote: > Frank Mayhar wrote: > > No, I'm not looking for one, I'm releasing one. This is a heavily > > modified version of John-Mark Gurney's ffsrecov, adapted to use libufs > > and to work (only) with UFS2 file systems. I call it ffs2recov and it > > is available at > > http://www.exit.com/Archives/FreeBSD/ffs2recov.tar.bz2 > Can it undelete files on a working file system? Heh, I figured someone would ask that question. The answer is, for the most part, no, it can't. When you delete a file the directory entry is freed; ffs2recov doesn't know how to recover it and in fact it may not _be_ recoverable. If it is at all, fsdb might be your best bet. On the other hand, you might also shoot your own foot off. :-) -- Frank Mayhar frank@exit.com http://www.exit.com/ Exit Consulting http://www.gpsclock.com/ http://www.exit.com/blog/frank/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1170690898.62703.5.camel>