From owner-freebsd-current@FreeBSD.ORG Sun Jul 13 09:29:47 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B88C1065679; Sun, 13 Jul 2008 09:29:47 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.freebsd.org (Postfix) with ESMTP id 0EABB8FC20; Sun, 13 Jul 2008 09:29:46 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.14.2/8.14.2) with ESMTP id m6D9TiJT061961; Sun, 13 Jul 2008 13:29:44 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Sun, 13 Jul 2008 13:29:44 +0400 (MSD) From: Dmitry Morozovsky To: Hans Petter Selasky In-Reply-To: <200807122249.03951.hselasky@c2i.net> Message-ID: <20080713132638.S58331@woozle.rinet.ru> References: <20080712204239.I58331@woozle.rinet.ru> <200807122249.03951.hselasky@c2i.net> X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (woozle.rinet.ru [0.0.0.0]); Sun, 13 Jul 2008 13:29:45 +0400 (MSD) Cc: freebsd-current@freebsd.org, current@freebsd.org Subject: Re: A bit of offtopic: msdosfs recovery tool X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jul 2008 09:29:47 -0000 On Sat, 12 Jul 2008, Hans Petter Selasky wrote: HPS> > I have CF card which failed somewhere very close to the beginning; I did HPS> > copy by recoverdisk, and can find start of at least one of FAT copies HPS> > (though can't be sure of its consistency); I can't find root directory yet, HPS> > neither subdirs. HPS> > HPS> > So - it there any tool to automate/speed up such a process? HPS> HPS> You are fortunately not the first one into that water ;-) HPS> http://www.cgsecurity.org/wiki/PhotoRec HPS> HPS> We should have this in ports. It is a pretty good utility! Yes, it is bundled with sysutils/disktest. Actually, it recovers most of images perfectly - but only on second run, when I put cf image on tmpfs (!) On the first run, when image resides on ZFS, it locks up in zfs:lock somewhere in the middle, stumbling the whole machine :( I did not tried to reproduce the problem yet, though. Thank you for the tip! Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: marck@FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------