From owner-freebsd-hackers@FreeBSD.ORG Sat Feb 3 19:53:01 2007 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 81F2616A401 for ; Sat, 3 Feb 2007 19:53:01 +0000 (UTC) (envelope-from frank@exit.com) Received: from tinker.exit.com (tinker.exit.com [206.223.0.1]) by mx1.freebsd.org (Postfix) with ESMTP id 3629613C442 for ; Sat, 3 Feb 2007 19:53:01 +0000 (UTC) (envelope-from frank@exit.com) Received: from jill.exit.com (jill.exit.com [206.223.0.4]) by tinker.exit.com (8.13.8/8.13.8) with ESMTP id l13JKHPx012018 for ; Sat, 3 Feb 2007 11:20:17 -0800 (PST) (envelope-from frank@exit.com) Received: from jill.exit.com (localhost [127.0.0.1]) by jill.exit.com (8.13.8/8.13.8) with ESMTP id l13JKHNp022847 for ; Sat, 3 Feb 2007 11:20:17 -0800 (PST) (envelope-from frank@exit.com) Received: (from frank@localhost) by jill.exit.com (8.13.8/8.13.8/Submit) id l13JKHAJ022846 for hackers@freebsd.org; Sat, 3 Feb 2007 11:20:17 -0800 (PST) (envelope-from frank@exit.com) X-Authentication-Warning: jill.exit.com: frank set sender to frank@exit.com using -f From: Frank Mayhar To: hackers Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: Exit Consulting Date: Sat, 03 Feb 2007 11:20:17 -0800 Message-Id: <1170530417.20968.14.camel@jill.exit.com> Mime-Version: 1.0 X-Mailer: Evolution 2.8.2.1 FreeBSD GNOME Team Port X-Virus-Scanned: ClamAV 0.88.6/2522/Sat Feb 3 08:30:44 2007 on tinker.exit.com X-Virus-Status: Clean Cc: Subject: UFS2 version of ffsrecov. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: frank@exit.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Feb 2007 19:53:01 -0000 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 I wrote this a couple of years ago so that I could recover a file system that had been stomped by a misconfigured RAID controller. It worked well enough for me to recover a couple of hundred gigabytes worth of data, which was a great relief (although some stuff was gone forever, sigh). I had intended to polish it up and release it long before now, but I've never managed to get around to doing the polishing. In particular, while it has a nice little summary of implemented options, the manpage needs a lot of work. On the positive side, however, I extended it to be a lot more robust in the face of corrupt pointers and file system offsets, so it doesn't just fall over when it sees garbage in a block address or whatnot. I'm releasing it under the BSD two-clause license, with due credit to John-Mark. It's my hope that someone else will take it, clean it up a bit, rewrite the manpage and maybe make a port out of it. If you do and you need a place to host the distfile, let me know. In any event, it's a tool that people often need. Enjoy. -- Frank Mayhar frank@exit.com http://www.exit.com/ Exit Consulting http://www.gpsclock.com/ http://www.exit.com/blog/frank/