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

Re: Hard Disk


On 14 Jul 2005 01:11:00 -0700, Philippe Troin <phil@fifi.org> wrote:
Lars Wirzenius <liw@liw.iki.fi> writes:

> ke, 2005-07-13 kello 20:53 -0700, Philippe Troin kirjoitti:
> >   cat /dev/zero > /bigfile
> >   rm /bigfile

If you want to have maximum compression / zero filling, you should do
that as root in your shutdown script, for all your partitions just
before unmounting them (in /etc/init.d/umountfs).

> The "wipe" program and package may be of interest as well. To be used
> instead of rm above.

That would be more if you wanted to sanitize completely all the data
that was referenced by deleted files from the hard disk.  In which
case it will be faster to use wipe on the individual sensititive

BTW, fileutils (now coreutils) comes with shred, which is more or less
like wipe.  One less package installed.

Billy was asking about compressing the virtual hard disk data, and
wipe/shred's sixteen passes of overwriting are way overkill :)


Reply to: