From owner-freebsd-questions@FreeBSD.ORG Fri Mar 16 11:14:24 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BB68716A400 for ; Fri, 16 Mar 2007 11:14:24 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from wmail.teledomenet.gr (wmail.teledomenet.gr [213.142.128.16]) by mx1.freebsd.org (Postfix) with ESMTP id 7939913C480 for ; Fri, 16 Mar 2007 11:14:24 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from iris (unknown [192.168.1.71]) by wmail.teledomenet.gr (Postfix) with ESMTP id CDD201C8C8A; Fri, 16 Mar 2007 12:49:06 +0200 (EET) From: Nikos Vassiliadis To: freebsd-questions@freebsd.org Date: Fri, 16 Mar 2007 13:17:20 +0200 User-Agent: KMail/1.9.1 References: <1173883472.50942.21.camel@bert.mlan.solnet.ch> In-Reply-To: <1173883472.50942.21.camel@bert.mlan.solnet.ch> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-7" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200703161317.20404.nvass@teledomenet.gr> Cc: Thomas Vogt Subject: Re: bcwipe doesn't wipe any block device 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: Fri, 16 Mar 2007 11:14:24 -0000 On Wednesday 14 March 2007 16:44, Thomas Vogt wrote: > Hello > > Has someone ever tried to wipe a block device on freebsd 6.2 with > bcwipe? > > I tried > bcwipe -bvmd /dev/aacd1 > > I get: > Writing to /dev/aacd1: Invalid argument > I tried slices too but it i got the same error. > > dd can overwrite my disk several times but perhaps someone can give me a > hint how to wipe a disk with bcwipe. It must be the way it access the device, that causes the problem. I suggest trying the following: 1) Create a filesystem covering the whole disk, 2) Fill up the disk creating a file the size of the filesystem on it. 3) have bcwipe operate on the file instead of the raw device. I assume it does this. I am not familiar with bcwipe... Nikos