GNU bug report logs - #24406
rm command: different behaviors seen with indirect blocks of a file

Previous Next

Package: coreutils;

Reported by: "Kothagere Siddalinga, Mahesh" <mxk145330 <at> utdallas.edu>

Date: Sat, 10 Sep 2016 17:59:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#24406: closed (rm command: different behaviors seen with
 indirect blocks of a file)
Date: Sat, 10 Sep 2016 19:09:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 10 Sep 2016 12:07:59 -0700
with message-id <b4ae62dc-32c7-fa3a-1001-118092896bd6 <at> cs.ucla.edu>
and subject line Re: bug#24406: rm command: different behaviors seen with indirect blocks of a file
has caused the debbugs.gnu.org bug report #24406,
regarding rm command: different behaviors seen with indirect blocks of a file
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
24406: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=24406
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: "Kothagere Siddalinga, Mahesh" <mxk145330 <at> utdallas.edu>
To: "bug-coreutils <at> gnu.org" <bug-coreutils <at> gnu.org>
Subject: rm command: different behaviors seen with indirect blocks of a file
Date: Sat, 10 Sep 2016 16:51:49 +0000
[Message part 3 (text/plain, inline)]
Hi,

I am Mahesh, part of the team that is working on a tool to undelete the files on ext3 file system.
One of the ideas on which the tool is based is “the rm command marks the inode free but does not zero out the data blocks and the indirect blocks”
While this is validated to be true on my version of Linux, Ubuntu 16.04, some of my friends using fedora found out that the indirect blocks at the 13th pointer of the inode is indeed being zeroed.

This difference of behavior is seemingly mysterious to me. Request you to point me in the direction as to why only some distributions of Linux seems to zero out the indirect block pointers associated with the files.

Thanks,
Mahesh.
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: "Kothagere Siddalinga, Mahesh" <mxk145330 <at> utdallas.edu>,
 24406-done <at> debbugs.gnu.org
Subject: Re: bug#24406: rm command: different behaviors seen with indirect
 blocks of a file
Date: Sat, 10 Sep 2016 12:07:59 -0700
Kothagere Siddalinga, Mahesh wrote:
> Request you to point me in the direction as to why only some distributions of Linux seems to zero out the indirect block pointers associated with the files.

I'm afraid that bug-coreutils is not a good mailing list to query about this. 
You might doing your homework by reading the relevant file systems' source code.


This bug report was last modified 8 years and 259 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.