From owner-freebsd-hackers@FreeBSD.ORG Thu Feb 23 10:43:55 2006 Return-Path: X-Original-To: hackers@freebsd.org 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 94C3816A420 for ; Thu, 23 Feb 2006 10:43:55 +0000 (GMT) (envelope-from dave@horsfall.org) Received: from dave.horsfall.org (mrdavi2.lnk.telstra.net [139.130.75.233]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD5C443D49 for ; Thu, 23 Feb 2006 10:43:53 +0000 (GMT) (envelope-from dave@horsfall.org) Received: from localhost (dave@localhost) by dave.horsfall.org (8.11.4/8.11.4) with ESMTP id k1NAhn018557 for ; Thu, 23 Feb 2006 21:43:49 +1100 (EST) Date: Thu, 23 Feb 2006 21:43:48 +1100 (EST) From: Dave Horsfall To: hackers@freebsd.org In-Reply-To: <20060218.120808.73002804.imp@bsdimp.com> Message-ID: References: <20060218.104749.104696960.imp@bsdimp.com> <200602181902.k1IJ243D041278@gate.bitblocks.com> <20060218.120808.73002804.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Subject: Re: Bad block -> file mapping X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Feb 2006 10:43:55 -0000 On Sat, 18 Feb 2006, M. Warner Losh wrote: > : LBA -> slice/partition/offset -> fs/inode -> list of file names > : Logic for the second step should be in fsck. > > Yea. I was kinda hoping to find a tool that would do that given the > LBA of the disk... I can do the math by hand, but if I don't have > to... It wasn't all that long ago that there was such a tool; I think it was "icheck -b" that went as far back as Edition 5? -- Dave