In article <01081709381000.08800@haneman> you wrote:
> I just recognized there's an "undelete" now for ext2 file systems [a KDE
not new.
> "The Other OS" in its professional version does of course clear the deleted
(assuming NT)
No it doesn't, and there even has been cases in the past where its
journaling filesystem was, under some conditions, extending files
with old data blocks without deleting them (a bit like the OLE `let's
put anything which is in RAM in this MS-Word file'), allowing other
users to snoop on each other's data / deleted data [no references
sorry, from memory].
Special care, as far as I understand it, must be taken when allocating
fs data blocks. The following sequence must be followed:
1. reserve them
2. clear them
3. mark them as allocated.
if 2 is too expensive, maybe it's sufficient to mark them as dirty
and zero them in memory. But what happens if the system crashes, with
the metadata to the disk (block allocated), but the data block not
yet filled/zeroed ?
Maybe some flags somewhere telling that those data blocks are allocated
but not yet committed ?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Thu Aug 23 2001 - 21:00:24 EST