Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jul 2017 23:14:45 +1000 (EST)
From:      Ian Smith <smithi@nimnet.asn.au>
To:        Doug Hardie <doug@sermon-archive.info>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Unusual Question
Message-ID:  <20170709230708.M27871@sola.nimnet.asn.au>
In-Reply-To: <mailman.85.1499601601.14159.freebsd-questions@freebsd.org>
References:  <mailman.85.1499601601.14159.freebsd-questions@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In freebsd-questions Digest, Vol 683, Issue 8, Message: 1
On Sun, 9 Jul 2017 02:57:14 -0700 Doug Hardie <doug@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170709230708.M27871>