Does it work with journalling filesystems?

Story: Via gives away disk-scrubbing softwareTotal Replies: 1
Author Content
gdt

Sep 19, 2004
6:08 AM EDT
I downloaded TruDelete from Via and inspected the code. It uses fwrite() to over-write the file with random data (see sw_rng_start() in VIA_RNG.cpp). I can't for the life of me see how that is going to over-write data held on journaling filesystems such as ext3, jfs, reiserfs, xfs. I suppose that points to a missing feature in those filesystems.
ruurd

Sep 19, 2004
9:17 PM EDT
I'm not familiar with xfs and jfs, but ext3 and reiserfs do metadata journaling, not file journaling. So, basically, those two (and possibly the other two too) keep a journal of changes to the metadata associated with the file, not a journal of the changes to the file itself.

Meaning, that even if they all are journaling filesystems, overwriting the file will indeed destroy the content as soon as the changes are flushed to disk. This message was edited Sep 20, 2004 6:17 AM

Posting in this forum is limited to members of the group: [ForumMods, SITEADMINS, MEMBERS.]

Becoming a member of LXer is easy and free. Join Us!