From owner-freebsd-hackers Sun Feb 23 6:40:40 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D2DBD37B401; Sun, 23 Feb 2003 06:40:38 -0800 (PST) Received: from smtp.inode.at (goliath.inode.at [195.58.161.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0E7E43FBD; Sun, 23 Feb 2003 06:40:37 -0800 (PST) (envelope-from mranner@inode.at) Received: from line157.adsl-dynamic.inode.at ([213.229.7.157]) by smtp.inode.at with esmtp (Exim 3.34 #1) id 18mxIx-0000CJ-00; Sun, 23 Feb 2003 15:40:35 +0100 From: Michael Ranner To: freebsd-hackers@freebsd.org, freebsd-fs@freebsd.org Subject: Re: scan_ffs for UFS2 Date: Sun, 23 Feb 2003 15:40:20 +0100 User-Agent: KMail/1.5 References: <200302192220.12731.mranner@inode.at> In-Reply-To: Cc: Garance A Drosihn MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200302231540.20166.mranner@inode.at> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Am Freitag, 21. Februar 2003 22:38 schrieben Sie: > At 10:20 PM +0100 2/19/03, Michael Ranner wrote: > > For what it's worth, we (FreeBSD) have a simple SuperBlock recovery > program in /usr/src/tools/tools/find-sb. I picked up some updates > from Dave Cross for that, and have a few more of my own. I just > have to sit down and get them all together into a single version. > I don't know how find-sb compares to the program you're talking > about, but they sound kind of similar. Scan_ffs can print the lost disklabel for use with disklabel(8). Find-sb, that version from cvs, seems only to print info about the superblocks of each file system and you have to rebuild the lost disklabel for your self. I was on the search for a simple tool for everybody, and found scan_ffs several months ago in the OpenBSD distribution (so it seems find-sb was like reinventing the wheel) and Robert Watson suggested in a posting december last year to adopt scan_ffs for UFS2. IMHO we should reuse a already written program with existing man pages, so we have the same sounding tools for the same tasks. I don't know what find-sb could do with your patches applied. If it's superior to scan_ffs, we can forget scan_ffs. -- /\/\ichael Ranner mranner@jawa.at - mranner@bitonline.cc - webmaster@mariazell.at ---------------------------------------------------------------------- JAWA Management Software GmbH - http://www.jawa.at/ Liebenauer Hauptstrasse 2oo - A-8041 Graz Tel +43 316 403274 21 - Fax +43 316 403274 10 ---------------------------------------------------------------------- Mariazell Online - http://www.mariazell.at/ ---------------------------------------------------------------------- -----BEGIN GEEK CODE BLOCK----- GIT/CS/AT dx(-) s+:(++:) a- C++ UBLVS++++$ P++>+++$ L-(+)$ E--- W+++$ N+(++) o-- K- w--()$ O-(--) M@ V-(--) PS+>++ PE(-) Y+ PGP(-) t+ 5+ X+++(++++) R* tv++ b+(++) DI++ D-(--) G- e h--(*) r++ y? ------END GEEK CODE BLOCK------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message