From owner-freebsd-questions@freebsd.org Fri Jul 14 10:00:00 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 AD250D9CEA9 for ; Fri, 14 Jul 2017 10:00:00 +0000 (UTC) (envelope-from raimo+freebsd@erix.ericsson.se) Received: from sessmg23.ericsson.net (sessmg23.ericsson.net [193.180.251.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3DE5E84C2A for ; Fri, 14 Jul 2017 09:59:59 +0000 (UTC) (envelope-from raimo+freebsd@erix.ericsson.se) X-AuditID: c1b4fb2d-803ff70000005faa-1a-596896160383 Received: from ESESSHC006.ericsson.se (Unknown_Domain [153.88.183.36]) by sessmg23.ericsson.net (Symantec Mail Security) with SMTP id 74.59.24490.61698695; Fri, 14 Jul 2017 11:59:50 +0200 (CEST) Received: from duper.otp.ericsson.se (153.88.183.153) by smtp.internal.ericsson.com (153.88.183.38) with Microsoft SMTP Server id 14.3.352.0; Fri, 14 Jul 2017 11:59:50 +0200 Received: from duper.otp.ericsson.se (localhost [127.0.0.1]) by duper.otp.ericsson.se (8.15.2/8.15.2) with ESMTP id v6E9xoBd074447 for ; Fri, 14 Jul 2017 11:59:50 +0200 (CEST) (envelope-from raimo+freebsd@erix.otp.ericsson.se) Received: (from raimo@localhost) by duper.otp.ericsson.se (8.15.2/8.15.2/Submit) id v6E9xoEJ074446 for freebsd-questions@freebsd.org; Fri, 14 Jul 2017 11:59:50 +0200 (CEST) (envelope-from raimo+freebsd@erix.otp.ericsson.se) X-Authentication-Warning: duper.otp.ericsson.se: raimo set sender to raimo+freebsd@erix.ericsson.se using -f Date: Fri, 14 Jul 2017 11:59:50 +0200 From: Raimo Niskanen To: Subject: Re: Unusual Question Message-ID: <20170714095950.GA72707@erix.ericsson.se> Mail-Followup-To: freebsd-questions@freebsd.org References: <888578F8-AD68-4993-823C-152789F3C929@mail.sermon-archive.info> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: "To: freebsd-questions@freebsd.org" User-Agent: Mutt/1.7.2 (2016-11-26) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrJLMWRmVeSWpSXmKPExsUyM2K7iq7YtIxIg2ebbSxeft3E4sDoMePT fJYAxigum5TUnMyy1CJ9uwSujJ2LqwpOcFdsPbSZrYFxNmcXIyeHhICJxL5fPexdjFwcQgJH GCW+71jIBuFsZJRo+b0YKtPOJPH75HcmCOcpo8TGD1MZIfpzJN5+OsoEYrMIqErsOToFzGYT MJVo/HmGFcQWEVCW+HftIjOILSwgKzH/32oWEJsXqKa3ZTErhK0v8XHFK1aIBa2MEttWboMq EpQ4OfMJmM0soCOxYPcnoPs4gGxpieX/OEDCnAIuEh/+7QULMwDtajslBGKKgqz9CjZdSEBb YsKbA6wTGEVmIZk5C8nMWQgzFzAyr2IULU4tLs5NNzLWSy3KTC4uzs/Ty0st2cQIDPCDW37r 7mBc/drxEKMAB6MSD6/DhIxIIdbEsuLK3EOMEhzMSiK8KpOBQrwpiZVVqUX58UWlOanFhxil OViUxHkd9l2IEBJITyxJzU5NLUgtgskycXBKNTAuUVt6MGAf+7+YKpa1jas/Pbt30j1n+293 1rTpGTtMO/luqXxjuV/wWtpd5rjppDl/1FjtYubmXdocOGNK7AXn3yzL3YVfeh7l8Mhcar4o WDJ9maXb6owrTjkVVrm27BtXZLzuORwXxXP3deNqubyP76f83dq6OejOxzPrHka7SB7bJq8t 4rtdiaU4I9FQi7moOBEAEO7IfmwCAAA= 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: Fri, 14 Jul 2017 10:00:00 -0000 This thread reminds me of the argument that you should always encrypt your hard disk. For a remote site you could have the key on a key partition for some crypto systems. Then all you have to do is destroy the key, which is much easier. (For an SSD drive to protect against harcore forensics I do not know how to ensure that the data is gone, though) On Thu, Jul 13, 2017 at 09:44:30PM -0700, David Christensen wrote: > On 07/09/17 02:57, 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. > > If the machine has BIOS and the system drive isn't too large, write an > assembly program that fits into the MBR bootstrap code area to wipe the > rest of the drive, assemble the program, write it into the MBR, and reboot. > > > Bonus: the program deletes the MBR when done wiping the rest of the drive. > > > David > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- / Raimo Niskanen, Erlang/OTP, Ericsson AB