From owner-freebsd-questions@FreeBSD.ORG Sun Aug 18 19:28:17 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 947A741B for ; Sun, 18 Aug 2013 19:28:17 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 596F827ED for ; Sun, 18 Aug 2013 19:28:17 +0000 (UTC) Received: from r56.edvax.de (port-92-195-92-43.dynamic.qsc.de [92.195.92.43]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 38C233CBE2; Sun, 18 Aug 2013 21:28:08 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r7IJS3PR002530; Sun, 18 Aug 2013 21:28:03 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 18 Aug 2013 21:28:03 +0200 From: Polytropon To: Matthias Apitz Subject: Re: undelete files in msdosfs Message-Id: <20130818212803.72ca7724.freebsd@edvax.de> In-Reply-To: <20130818170039.GA1954@La-Habana> References: <20130818170039.GA1954@La-Habana> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Aug 2013 19:28:17 -0000 On Sun, 18 Aug 2013 19:00:39 +0200, Matthias Apitz wrote: > After a nice day in the fields, my wife deleted accidently the pictures > in her cam; the microSD mounts fine in FreeBSD as -t msdosfs; do we have > some FreeBSD 10-CUR tool to undelete the files, as there are some for M$? We have plenty of them. From my "unbelievable list of tools for data recovery" and regarding that you are trying to recover files from a camera: "photorec". It's in the ports collection. In the same context, "magicrescue" is worth mentioning. If they all fail, consider using TSK. Note: Do _not_ do ANY writes to the card! Mount it -o ro if needed. Make an 1:1 copy (using "dd_rescue" from ports), work with that copy. Everything that slips through fat fingers could reduce the chance of a successful recovery session. I know it. ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...