This is a read-only archive. Find the latest Linux articles, documentation, and answers at the new Linux.com!

Linux.com

Re:How do you "shred" files on a modern filesystem

Posted by: Anonymous Coward on March 08, 2006 12:41 AM
You can "shred" a file on an ext3 filesystem if you first remount the filesystem as ext2 (yes, this can actually be done). The easiest way to do this is to:

umount<nobr> <wbr></nobr>/partition
mount -t ext2<nobr> <wbr></nobr>/device<nobr> <wbr></nobr>/partition

This obviously will not work for other journaled filesystems UNLESS you find a mount option to turn OFF journaling. Even then, it may or may not work, depending on the filesystem.

#

Return to CLI Magic: Securely deleting files with shred