From owner-freebsd-questions@FreeBSD.ORG Mon Aug 19 22:02:58 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 A821B4C2 for ; Mon, 19 Aug 2013 22:02:58 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr14.xs4all.nl (smtp-vbr14.xs4all.nl [194.109.24.34]) by mx1.freebsd.org (Postfix) with ESMTP id 2B8322BB5 for ; Mon, 19 Aug 2013 22:02:57 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr14.xs4all.nl (8.13.8/8.13.8) with ESMTP id r7JM2pt6084081 for ; Tue, 20 Aug 2013 00:02:51 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id D418C123FB; Tue, 20 Aug 2013 00:02:50 +0200 (CEST) Date: Tue, 20 Aug 2013 00:02:50 +0200 From: Roland Smith To: freebsd-questions@freebsd.org Subject: Re: undelete files in msdosfs Message-ID: <20130819220250.GB45729@slackbox.erewhon.net> References: <20130818170039.GA1954@La-Habana> <20130818212803.72ca7724.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1UWUbFP1cBYEclgG" Content-Disposition: inline In-Reply-To: <20130818212803.72ca7724.freebsd@edvax.de> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: by XS4ALL Virus Scanner X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Aug 2013 22:02:58 -0000 --1UWUbFP1cBYEclgG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Aug 18, 2013 at 09:28:03PM +0200, Polytropon wrote: > 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. For the archives, it's in the sysutils/testdisk port.=20 (Not the first place one would look, I'd say) Nice find, BTW. One for the list of recovery tools indeed. > 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. ;-) If you took any more pictures with the same card in the camera, it is almost guaranteed that some of the original pictures will not be recoverable becau= se they've been overwritten. Roland --=20 R.F.Smith http://rsmith.home.xs4all.nl/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --1UWUbFP1cBYEclgG Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iEYEARECAAYFAlISlgoACgkQEnfvsMMhpyUiZgCgrdHIzgwXhIrTs7WfO1d1sVfs 1pEAn0wF5guwSsIA/+ZpN5KUIAnFLy0v =JEmX -----END PGP SIGNATURE----- --1UWUbFP1cBYEclgG--