lkml.org 
[lkml]   [1999]   [Apr]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Flaw in ext2?
Hi!

> > The version of the kernel that you have deletes the inode number from the directory when
> > it deletes the file. This makes us lose the connection between the name and the data.
> > So we have names and we have inodes which point to data but the connection between the 2
> > is lost. This version also deletes the indirect block. These are the blocks that point to > 63kb sections of the file. Once a file gets over 12 blocks long (about 6k) the system the
> > system stores the address pointers on the disk. In indirect blocks. Each indirect block
> > points to 64kb of data. Anyway these are also zeroed out. I know of no other unix that
> > zeros the indirect blocks. Most of the unix recoveries I have done is where the system is > corrupted and wont mount. I have also done unixes that have been deleted and used the
> > indirect blocks to recover vast amounts of data. I didn't realize that linux zeroed the
> > indirect blocks.
>
> The worrisome part, of course, is the "I know of no other Unix that does
> this."
>
> Could someone who is in the know please provide me with a source,
> perhaps, for the answer to this question?

Something similar happened to our artax server.

2.0.0 clears indirect blocks. That is fixed in 2.2.X.
Pavel
--
I'm really pavel@atrey.karlin.mff.cuni.cz. Pavel
Look at http://atrey.karlin.mff.cuni.cz/~pavel/ ;-).

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.023 / U:0.560 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site