Re: secure erasure of files?

From: Jan Hudec (bulb@ucw.cz)
Date: Tue Feb 12 2002 - 14:47:10 EST


> I don't know if any filesystem currently relocates blocks if you
> overwrite a file, but it's certainly possible and allowed (everything
> else except the filesystem itself simply must not care where the data
> actually ends up on the disk).

AFAIK, ext2 tries to defragment files when possible. Thus if the file was
fragmented and the blocks after some fragment are free, it will use these
instead of the original ones somewhere far apart.

--------------------------------------------------------------------------------
                                                  - Jan Hudec `Bulb' <bulb@ucw.cz>
-
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 : Fri Feb 15 2002 - 21:00:50 EST