Unusual Question

Ian Smith smithi at nimnet.asn.au
Sun Jul 9 13:25:43 UTC 2017


In freebsd-questions Digest, Vol 683, Issue 8, Message: 1
On Sun, 9 Jul 2017 02:57:14 -0700 Doug Hardie <doug at mail.sermon-archive.info> wrote:

 > I have a FreeBSD 9.3 remote server that needs to be purged.  I know 
 > that rm -rf / will remove all the directory entries, but I need to 
 > write over the drive.  I thought that dd if=/dev/zero of=/dev/ada0 
 > might do the trick, but it gives an not permitted error.  The whole 
 > thing can crash and burn at the end.  This is an unmanned site so 
 > moving drives is not viable.

# sysctl kern.geom.debugflags=16

purge at will.  if=/dev/random for the more paranoid :)

cheers, Ian


More information about the freebsd-questions mailing list