[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Wiping Swap Partitions
I'm thinking of using the following on shutdown:
swapoff -a
dd if=/dev/zero of=/dev/hda1 bs=1024k count=64
sync
mkswap /dev/hda1
sync
swapon -a
(after checking that hda1 is swap ;). Any comments or improvements?
Does anyone know if there is a recommended way of doing this under
Solaris? I guess you can do the same kind of thing, but because of the C2
rating there should be a way of automating this?
Cheers,
Sam
Regards,
Sam Simpson
------------------------------------------------------------------------------
Mail: sam@samsimpson.com
Web: http://www.samsimpson.com/
Mobile: +44 (0) 7866 726060
ICQ: 10385495
"When it comes to humility, I'm the greatest" -- Bullwinkle Moose
------------------------------------------------------------------------------
-
Linux-crypto: cryptography in and on the Linux system
Archive: http://mail.nl.linux.org/linux-crypto/