Gutman Method on Empty Space
Nerius Landys
nlandys at gmail.com
Thu Jan 17 17:06:31 PST 2008
> > Can anyone recommend a utility for the secure overwriting of
> > unused disc
> > space?
>
> split -b 200m /dev/random randomdata ; sync && rm randomdata*
>
> Run as many times as your paranoia factor requires on your file system.
> Gutman suggests in his own writings that overwriting with random data
> makes the most sense with modern disks. Run as root to extend the
> writes past the soft filesystem limit. Use whatever split parameters
> you fancy for the file sizes. The "srm" port has fancy features for
> file/directory deletions.
If I didn't misunderstand your question. If you're trying to write bits
onto your disk so that nobody could recover data from it, there is a very
simple way to blank out either YOUR WHOLE HARD DRIVE or AN ENTIRE SLICE ON
YOUR HARD DRIVE.
Using the `dd' utility you can write zero bits to an entire slice of your
hard drive (or to the whole hard drive):
dd if=/dev/zero of=/dev/<disk-or-slice-ID>
Don't do this unless you want to lose all data on a slice or hard drive.
More information about the freebsd-questions
mailing list