From: John Bradford <john@grabjohn.com>
To: maxvaldez@yahoo.com (Max Valdez)
Cc: linux-kernel@vger.kernel.org
Subject: Re: Undelete files on ext3 ??
Date: Tue, 7 Jan 2003 08:59:13 +0000 (GMT) [thread overview]
Message-ID: <200301070859.h078xEnI000337@darkstar.example.net> (raw)
In-Reply-To: <1041911922.29225.1.camel@garaged.fis.unam.mx> from "Max Valdez" at Jan 06, 2003 09:58:42 PM
> Is there any way to revert the stupid mistyping of "rm file *" on ext3??
There is no simple way, no.
> I hope there is a way, because I dont have a backup of some files i
> mistakenly deleted
The only thing I can suggest is this:
* Do not write anything else to the partition, and immediately
re-mount it read-only.
E.G.:
mount -oremount -oro /dev/hda3
* Use dd to copy the entire contents of the partition to a file on
another partition.
E.G.:
dd if=/dev/hda3 of=/partition_image
* Search through that file for the fragments of your lost files.
E.G.:
grep "Some text that you are looking for" /partition_image
If it is a text file that you've lost, it's possible that you might be
able to recover some of it quite easily, using grep to search for the
fragments. If it's anything else, you'll probably not be able to
recover it, unless you have the details of the file format.
John.
next prev parent reply other threads:[~2003-01-07 8:50 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-07 3:58 Undelete files on ext3 ?? Max Valdez
2003-01-07 8:59 ` Marco d'Itri
2003-01-07 8:59 ` John Bradford [this message]
2003-01-07 9:29 ` Maciej Soltysiak
2003-01-07 9:45 ` Jan Hudec
2003-01-07 17:38 ` Max Valdez
2003-01-07 17:53 ` Andreas Dilger
2003-01-07 17:57 ` John Bradford
2003-01-07 18:56 ` Andreas Dilger
2003-01-07 18:17 ` Richard B. Johnson
2003-01-07 18:41 ` Virtual WORM device John Bradford
2003-01-07 18:53 ` Andreas Dilger
2003-01-07 18:54 ` John Bradford
2003-01-08 18:24 ` Vishal Verma
2003-01-07 18:45 ` Undelete files on ext3 ?? Jesse Pollard
2003-01-07 18:55 ` Andreas Dilger
2003-01-08 5:01 ` Gerhard Mack
2003-01-08 8:00 ` Jan Hudec
2003-01-08 10:57 ` John Bradford
2003-01-08 21:33 ` Valdis.Kletnieks
2003-01-08 21:47 ` John Bradford
2003-01-08 21:51 ` Randy.Dunlap
2003-01-08 22:06 ` Valdis.Kletnieks
2003-01-08 23:03 ` John Bradford
2003-01-08 23:14 ` John Bradford
2003-01-09 9:42 ` Helge Hafting
2003-01-07 20:58 ` Mike Waychison
2003-01-09 8:27 ` Michael Knigge
[not found] ` <Pine.LNX.3.95.1030107131613.3523A-100000@chaos.analogic.co m>
2003-01-07 23:51 ` Billy Rose
2003-01-07 11:30 ` John Bradford
2003-01-07 11:45 ` Matti Aarnio
2003-01-07 12:39 ` Alan Cox
2003-01-08 20:00 ` Michael Milligan
2003-01-07 9:16 ` David van Hoose
2003-01-07 19:31 ` oford
2003-01-08 11:57 ` Pavel Machek
-- strict thread matches above, loose matches on Subject: below --
2003-01-07 9:58 Alexander Sandler
2003-01-08 10:03 bart
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200301070859.h078xEnI000337@darkstar.example.net \
--to=john@grabjohn.com \
--cc=linux-kernel@vger.kernel.org \
--cc=maxvaldez@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox