[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Securely deleting *Windows* files (was Re: simple way to securely destroy deleted files in a file system)



Why calculate the sizes when you can just use cat until it stops
because the disk is full?

 cat /dev/zero > /mnt/yourfilesystem/thebigfile

BTW don't forget to proberly umount /mnt/yourfilesystem afterwards, of
course, to force a sync. (Just in case there might be a file system
that doesn't send the data immediately to the block device, you might
want to umount right after filling the disk, *before* removing the
file.)

Ch.


Reply to: