linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Jim C. Brown" <jbrown106@phreaker.net>
To: Ankit Jain <ankitjain1580@yahoo.com>
Cc: linux-admin@vger.kernel.org
Subject: Re: i have lost the file
Date: Mon, 22 Nov 2004 19:03:07 -0500	[thread overview]
Message-ID: <20041123000307.GA27137@jbrown.mylinuxbox.org> (raw)
In-Reply-To: <20041122140021.91441.qmail@web52904.mail.yahoo.com>

On Mon, Nov 22, 2004 at 02:00:21PM +0000, Ankit Jain wrote:
> if i can get some ref. where i can read
> that(filesystem)
> 
> it is not due to some file....its because i want to
> know about the sub. 
> 
> thanks
> 
> ankit

I recommend Midnight Commander (mc), which has a function in it which
undeletes files for the ext2 filesystem.

There is also a howto called the Ext2 Undeletion HOWTO, as well as a Ext2
Undeletion Dir Struct HOWTO. These give you the methods step by step, though
they are a bit dated. In theory they will work with ext3 (if you unmount it
cleanly).

If you are just looking for a setup that lets you undelete a file (e.g. you
haven't deleted it yet but think you will) you can use libtrash. This is a
preloaded library which uses hacks to hide files instead of deleting them
(it does the override at the library call level, so only staticly linked
binaries can delete files). This is as good as you can get w/o patching the
kernel.

>  --- Nathan Dietsch <njd@ndietsch.com> wrote: 
> > Ankit,
> > 
> > Ankit Jain wrote:
> > 
> > >if somebody knows how to retrieve the file?
> > >
> > >i used rm command
> > >  
> > >
> > Go to your backups and restore the file.
> > Anything else will require filesystem reconstruction
> > and depending on 
> > much the filesystem has been used since, it may not
> > work.
> > For such a reconstruction you would need to have an
> > in-depth knowledge 
> > of the filesystem structure.
> > 
> > Kind Regards,
> > 
> > Nathan Dietsch
> > -
> > To unsubscribe from this list: send the line
> > "unsubscribe linux-admin" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at 
> > http://vger.kernel.org/majordomo-info.html
> >  
> 
> ________________________________________________________________________
> Yahoo! Messenger - Communicate instantly..."Ping" 
> your friends today! Download Messenger Now 
> http://uk.messenger.yahoo.com/download/index.html
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

-- 
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.


  parent reply	other threads:[~2004-11-23  0:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-22 11:26 i have lost the file Ankit Jain
2004-11-22 11:56 ` Nathan Dietsch
2004-11-22 14:00   ` Ankit Jain
2004-11-22 18:16     ` Glynn Clements
2004-11-22 23:52     ` Nathan Dietsch
2004-11-23  0:03     ` Jim C. Brown [this message]
2004-11-22 15:47 ` Marshall Lake

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=20041123000307.GA27137@jbrown.mylinuxbox.org \
    --to=jbrown106@phreaker.net \
    --cc=ankitjain1580@yahoo.com \
    --cc=jbrown106@swift-mail.com \
    --cc=linux-admin@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).