Article View: comp.os.linux.misc
Article #395Re: Restore the contents of accidentally overwritten file
From: Dave Sparks
Date: Fri, 29 Nov 1996 00:00
Date: Fri, 29 Nov 1996 00:00
30 lines
1925 bytes
1925 bytes
In article <329F6039.71AA0FB7@sbox.tu-graz.ac.at>,
Alexander List <alexlist@sbox.tu-graz.ac.at> wrote:
>Well, Murphy did it again. I was on the wrong machine, and I did an
>ftp "get" instead of a "put" and so the contents of my original
>bookmark file has been overwritten. When I discovered my mistake,
>I have immediately disabled login for users and mounted the
>/home filesystem read-only.
[...]
>Again, I have _overwritten_ the file, is it possible to find some
>of the data?
Your only chance is if the file you "got" was smaller than what was
originally there. IOW, if you overwrote a 10K file with a 5K file,
you *MIGHT* be able to recover the last 5K. (Assuming the remaining
5K weren't subsequently overwritten by something else.)
I'm not that familar with low-level utilities for Linux, but there's
probably something that's similar to Norton Utilities for DOS which
will read absolute disk sectors.
--
Dave Sparks <dsparks@pobox.com> Home Page: http://www.pobox.com/~dsparks/
For info on receiving a FREE pager (or getting PAID to give away free
pagers), a FREE 16.0 cpm calling card (non-prepaid), or earning money
at home, visit:
http://www.pobox.com/~dsparks/mmsm.html
Technical Details
Message-ID:
<M76nyYD2igWe091yn@pobox.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<329F6039.71AA0FB7@sbox.tu-graz.ac.at>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1103af,aedc63ec18eefb04 X-Google-Attributes: gid1103af,public X-Google-Thread: 109314,aedc63ec18eefb04 X-Google-Attributes: gid109314,public X-Google-Thread: 1101c9,aedc63ec18eefb04 X-Google-Attributes: gid1101c9,public From: dsparks@pobox.com (Dave Sparks) Subject: Re: Restore the contents of accidentally overwritten file Date: 1996/11/29 Message-ID: <M76nyYD2igWe091yn@pobox.com> X-Deja-AN: 201533397 references: <329F6039.71AA0FB7@sbox.tu-graz.ac.at> organization: PE.net - Internet access from the Press-Enterprise Company nntp-posting-user: dsparks newsgroups: comp.os.linux.misc,at.linux,at.fido.linux