From owner-freebsd-questions@FreeBSD.ORG Wed Jun 25 03:46:24 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90653106567E for ; Wed, 25 Jun 2008 03:46:24 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.228]) by mx1.freebsd.org (Postfix) with ESMTP id 712CD8FC18 for ; Wed, 25 Jun 2008 03:46:24 +0000 (UTC) (envelope-from illoai@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so10436558rvf.43 for ; Tue, 24 Jun 2008 20:46:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=ZutGwOH3JRIJ0rZ64yVr3xHG56iEl7DT61oqL5pN0o8=; b=Wt3nIeADxemXIsI5DlcK30tPwJ7l0HpG6zrtOSy6fuAxmsZJJkAuBM3pkXoq8ekIb3 tceyW5Iog7g8A+IX59PJdLZDlQS92c8q7wMiv1zuEMIOZoDsvYz43x4JCRGSDEPzk6bR EZ8NWOZPfJtU8ggF7bKb6QDWF+tjVJ1RrmbUg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=VTugRsFq2Yl2aWDsGgE2/cGGrESMejEnh2H507L9fimuYo60njqCe4SaOHLnTLvwIf RGe57Wqzo3ZptVb7rgq14YsqoWCwbwDO7RA1qnUqH/f26agID07Q0x8F+kPtlNyNOE8a Vix3YkCse3M65pm1hn/wO9cm50MQmlExH35hQ= Received: by 10.141.22.1 with SMTP id z1mr15826571rvi.282.1214364071390; Tue, 24 Jun 2008 20:21:11 -0700 (PDT) Received: by 10.141.189.12 with HTTP; Tue, 24 Jun 2008 20:21:11 -0700 (PDT) Message-ID: Date: Tue, 24 Jun 2008 22:21:11 -0500 From: "illoai@gmail.com" To: "Andrew Falanga" In-Reply-To: <340a29540806231336g4be401a6h5f5a1b2b6dca110e@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <340a29540806231257x670cf398qc5bf11c396fd0afb@mail.gmail.com> <20080623202259.GB97202@slackbox.xs4all.nl> <340a29540806231336g4be401a6h5f5a1b2b6dca110e@mail.gmail.com> Cc: Roland Smith , FreeBSD Questions Subject: Re: Wipe a drive clean X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2008 03:46:24 -0000 2008/6/23 Andrew Falanga : > On Mon, Jun 23, 2008 at 2:23 PM, Roland Smith wrote: >> >> I'm not sure about flash memory, but for a harddrive, simple writing 0's >> is not a secure way to delete data. It can still be recovered. > > Actually, this is for an experiment that I want to start with a > "clean" device for. I'm not actually trying to obtain some level of > security. Assuming you do not have some geom provider on said device # dd if=/dev/zero of=/dev/da2 bs=1024k count=1 should wipe the partition table and superblock, which is good enough for an insecure erase. -- --