Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jun 2000 07:52:04 -0700 (PDT)
From:      "Jordan K. Hubbard" <jkh@zippy.cdrom.com>
To:        hackers@freebsd.org
Subject:   Way off-topic, but anybody know how to resurrect files from FAT-12?
Message-ID:  <200006121452.HAA74024@zippy.cdrom.com>

next in thread | raw e-mail | index | archive | help
I'm sitting here in Seoul, Korea (which is very nice, by the way) and
I've just managed to delete all 82 images of Kyoto off the FAT-12 format
Smartcard they were on.  Waaaah!

Well, that is to say that I mv'd them off from FreeBSD (and I hope our MSDOSFS
code doesn't do anything really weird there) and then proceeded to fat-finger
a command in the shell which deleted them off my UFS filesystem.  Once
I noticed that fsdb seems to be read-only no matter what you do with it
these days, and not really knowing how to use it to resurrect deleted
directory slots, I resolved to go back to the original smartcard
(which I've saved an image of, my brain having returned from the dark,
musty place it must have been when I thought to do image reshuffling
while tired).  I notice with od -c that it's FAT-12 and first thought
to simply edit the first byte of each filename back to what it was, since
it being mangled was the first thing I noticed in "beav".  That resulted
in the filenames being viewable again, but I still can't copy the files
since that returns EFAULT.  Clearly there's something else I'm missing
here when it comes to resurrecting deleted files off a DOS FS, and
Win98 doesn't appear to have an "undelete" (I looked) so I'm really
at a loss.  I'd buy a copy of Norton or something at this point, but
I wouldn't even know where to find such a thing in Korea.  Any suggestions?
They were some really nice pictures and I hate the idea of losing
them. :-(  Thanks!  I've certainly learned my lesson for at least
another year or two....

- Jordan


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006121452.HAA74024>