🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #59941

Re: undelete / unrm / file recover for linux?

#59941
From: Jonathan George
Date: Wed, 01 Nov 1995 00:00
41 lines
2965 bytes
Robert Brockway (robert@athena) wrote:
: Juergen Exner (jue@cs.tu-berlin.de) wrote:
: :    Incidentally, the best chance for recovery might have been to turn off the
: :    power for your machine before the MBR had a chance to be updated, and then
: :    use fsck to recover the file system.  On the other hand this could also
: :    corrupt your filesystem beyond repair; it's really a role of the dice.

: : Just stupid! The MBR will only(!) be overwritten if you use /sbin/lilo or
: : DOS fdisk \MBR and it has NOTHING to do at all with the data on the
: : disk.

: What he meant was that if you turn the power off before update flushes the
: data to disk you can prevent the data loss.  This can, and has been done.
: It can cause filesystem damage too, though.  And you're right, the MBR
: has nothing to do with this.

My intention was to refer to the "superblock" not the "master boot record".
Carelessness on my part due to being half asleep when I wrote it; sorry.
The MBR is, of course, the initial physical boot block on the hard drive
which allows partition/OS independent use of lilo or other boot managers.

Incidentally, I have successfully used technique this in conjunction with
fsdb under System V for recovery.  Apparently <474qim$4g0@dingo.cc.uq.oz.au>
does not have much experience with system admin, but that's really no excuse
for the gratuitious flame.

: Juergen Exner (jue@cs.tu-berlin.de) wrote`
: :    Of course the best solution would be to hack the fsck source to recover
: :    recently deleted inodes.

: : And how do you want to keep track on "recently deleted inodes"?

: It coulde be done with the e2fs.  The filesystem would have a special list
: of 'recently deleted inodes'.  Remy Card intends to put undelete into the
: e2fs very soon, perhaps that is how he intends to do it.
:   -Robert

Something along these lines is what I had in mind...though there are other
alternatives as well which might require more user interaction.

-Jonathan-
Technical Details
Message-ID: <47853j$okn@tech.cftnet.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <46v9e4$oui@ngriffin.itc.gu.edu.au> <470bko$afc@tech.cftnet.com> <472l17$9qo@news.cs.tu-berlin.de> <474qim$4g0@dingo.cc.uq.oz.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5392,355ac0499e9cf894
X-Google-Attributes: gidf5392,public
X-Google-Thread: 10c696,355ac0499e9cf894
X-Google-Attributes: gid10c696,public
X-Google-Thread: 1103af,355ac0499e9cf894
X-Google-Attributes: gid1103af,public
X-Google-Thread: 102983,355ac0499e9cf894
X-Google-Attributes: gid102983,public
From: jgeorge@cftnet.com (Jonathan George)
Subject: Re: undelete / unrm / file recover for linux?
Date: 1995/11/01
Message-ID: <47853j$okn@tech.cftnet.com>
X-Deja-AN: 118365666
references: <46v9e4$oui@ngriffin.itc.gu.edu.au> <470bko$afc@tech.cftnet.com> <472l17$9qo@news.cs.tu-berlin.de> <474qim$4g0@dingo.cc.uq.oz.au>
followup-to: aus.computers.linux,comp.os.linux.development.apps,comp.os.linux.misc,comp.os.linux.development.system
organization: CFTnet
newsgroups: aus.computers.linux,comp.os.linux.development.apps,comp.os.linux.misc,comp.os.linux.development.system