From owner-freebsd-questions@freebsd.org Sun Jul 9 13:25:43 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A04C8DB216B for ; Sun, 9 Jul 2017 13:25:43 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 05FC984496 for ; Sun, 9 Jul 2017 13:25:42 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id v69DEjhX044506; Sun, 9 Jul 2017 23:14:45 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sun, 9 Jul 2017 23:14:45 +1000 (EST) From: Ian Smith To: Doug Hardie cc: freebsd-questions@freebsd.org Subject: Re: Unusual Question In-Reply-To: Message-ID: <20170709230708.M27871@sola.nimnet.asn.au> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jul 2017 13:25:43 -0000 In freebsd-questions Digest, Vol 683, Issue 8, Message: 1 On Sun, 9 Jul 2017 02:57:14 -0700 Doug Hardie 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