Re: undelete files in msdosfs

2013-08-19 Thread Roland Smith
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. 
(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 because
they've been overwritten.

Roland
-- 
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)


pgpFOrLvvyEwq.pgp
Description: PGP signature


Re: undelete files in msdosfs

2013-08-18 Thread Jerry
On Sun, 18 Aug 2013 19:00:39 +0200
Matthias Apitz articulated:

 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$?

There are dozens of Microsoft based applications that are intended to
undelete a file, assuming you have not otherwise over written the file
or messed up the file system. I even saw one designed just for cameras.
Google is your friend.

-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: undelete files in msdosfs

2013-08-18 Thread Frank Leonhardt
I wrote something to do this a long time back, but I doubt I can find 
the source quickly. The easiest way would be to download a forensic 
live-CD like DEFT, which includes Undelete 360. Possibly over-kill but 
it's handy to have one around. Most of these forensic tools use a GUI.


There is a program called fatback in the ports collection but I haven't 
tried it. The tools on these forensic live-CDs are likely to be more 
powerful by a long way.


Regards, Frank.

On 18/08/2013 18:00, Matthias Apitz wrote:

Hello,

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$?
Thanks

matthias


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: undelete files in msdosfs

2013-08-18 Thread Polytropon
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, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: undelete files in msdosfs

2013-08-18 Thread Matthias Apitz
El día Sunday, August 18, 2013 a las 03:23:18PM -0400, Jerry escribió:

 On Sun, 18 Aug 2013 19:00:39 +0200
 Matthias Apitz articulated:
 
  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$?
 
 There are dozens of Microsoft based applications that are intended to
 undelete a file, assuming you have not otherwise over written the file
 or messed up the file system. I even saw one designed just for cameras.
 Google is your friend.

Thanks for your reply, but luckily we do not have any Microsoft infected
computer at home (and we will no have).

matthias

-- 
Sent from my FreeBSD netbook

Matthias Apitz, g...@unixarea.de, http://www.unixarea.de/ f: +49-170-4527211
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)   
  
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: undelete files in msdosfs

2013-08-18 Thread Polytropon
On Sun, 18 Aug 2013 20:28:53 +0100, Frank Leonhardt wrote:
 I wrote something to do this a long time back, but I doubt I can find 
 the source quickly. The easiest way would be to download a forensic 
 live-CD like DEFT, which includes Undelete 360. Possibly over-kill but 
 it's handy to have one around. Most of these forensic tools use a GUI.

Or UBCD, if I remember correctly. It also offers some of those
tools, usually the text-mode variants (not CLI, but dialog-driven)
which allow you to perform the tasks quickly and safely.



 There is a program called fatback in the ports collection but I haven't 
 tried it. The tools on these forensic live-CDs are likely to be more 
 powerful by a long way.

Most of the programs can be used from within FreeBSD. As I said,
there are many of those available for free. Some of them require
the user to _know_ what he does. The more complex the recovery
task is, the more knowledge is involved. GUIs are good to hide
this fact, and in worst case, you lose your data. Of course there
is no problem delegating the recovery task to a service center
for $$$. And sometimes, if you look close enough, you can see
that those are using the free tools. :-)






-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: undelete files in msdosfs

2013-08-18 Thread iamatt
Its called backups.   Not trying to be a dick but it's 2013. Not 1983.
Plenty of online backup/archive options.  As always. Test restores
periodically.
On Aug 18, 2013 2:30 PM, Matthias Apitz g...@unixarea.de wrote:

 El día Sunday, August 18, 2013 a las 03:23:18PM -0400, Jerry escribió:

  On Sun, 18 Aug 2013 19:00:39 +0200
  Matthias Apitz articulated:
 
   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$?
 
  There are dozens of Microsoft based applications that are intended to
  undelete a file, assuming you have not otherwise over written the file
  or messed up the file system. I even saw one designed just for cameras.
  Google is your friend.

 Thanks for your reply, but luckily we do not have any Microsoft infected
 computer at home (and we will no have).

 matthias

 --
 Sent from my FreeBSD netbook

 Matthias Apitz, g...@unixarea.de, http://www.unixarea.de/ f:
 +49-170-4527211
 UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
 UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: undelete files in msdosfs

2013-08-18 Thread CeDeROM
On Sun, Aug 18, 2013 at 7:00 PM, Matthias Apitz g...@unixarea.de 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$?

/usr/ports/sysutils/testdisk

http://www.cgsecurity.org/wiki/TestDisk

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: undelete files in msdosfs

2013-08-18 Thread Polytropon
On Sun, 18 Aug 2013 15:01:37 -0500, iamatt wrote:
 Its called backups.   Not trying to be a dick but it's 2013. Not 1983.

But it doesn't help when Johnny Fatfingers presses the wrong
buttons on the camera _prior_ to archiving the photos. :-)



 Plenty of online backup/archive options. 

And local options, because you have to trust your online
backup provider (except it's _yourself_ who provides and
maintains the systems).



 As always. Test restores
 periodically.

A backup that cannot be restored is _not_ a backup. :-)




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: undelete files in msdosfs

2013-08-18 Thread Polytropon
On Sun, 18 Aug 2013 22:09:57 +0200, CeDeROM wrote:
 On Sun, Aug 18, 2013 at 7:00 PM, Matthias Apitz g...@unixarea.de 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$?
 
 /usr/ports/sysutils/testdisk
 
 http://www.cgsecurity.org/wiki/TestDisk

That one is also on my famous list, and if I remember correctly,
also part of the UBCD for OS-less use. :-)



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: undelete files in msdosfs

2013-08-18 Thread Matthias Apitz
El día Sunday, August 18, 2013 a las 10:09:57PM +0200, CeDeROM escribió:

 On Sun, Aug 18, 2013 at 7:00 PM, Matthias Apitz g...@unixarea.de 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$?
 
 /usr/ports/sysutils/testdisk
 
 http://www.cgsecurity.org/wiki/TestDisk

Thanks! This did what I was looking for.

matthias

-- 
Matthias Apitz   |  /\ ASCII Ribbon Campaign: www.asciiribbon.org
E-mail: g...@unixarea.de |  \ / - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X  - No proprietary attachments
phone: +49-170-4527211   |  / \ - Respect for open standards
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org