[Ilugc] Re: undeletion on ext2

  • From: sanand@xxxxxxxxxx (Sridharan Anand)
  • Date: Thu May 19 17:31:19 2005

On Thu, 19 May 2005 15:29:28 +0530, "Arpit Sud"
<arpit04@xxxxxxxxx> wrote:

hi,
      1. does the linux kernel of the recent series (i.e. 2.4.x or
2.6.x) zero the indirect blocks when deleting a file on the ext2 fs?

AFAIK, ext2 only marks the inode deleted without zeroing out the block
pointers, whereas ext3 also zeroes out the block pointers.

       2. Is there some tool available under GNU/Linux for
unrecoverable deletion of data(sone standards are there for permanent
deletion)?

Yes.  mc's undelete command can do it on ext2 partitions.  See also the
undelete FAQ at http://www.tldp.org/HOWTO/Ext2fs-Undeletion.html

HTH.

Later,

Anand.

Other related posts: