From owner-freebsd-current@FreeBSD.ORG Thu Feb 19 12:15:40 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B93116A4CE for ; Thu, 19 Feb 2004 12:15:40 -0800 (PST) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9177543D2F for ; Thu, 19 Feb 2004 12:15:39 -0800 (PST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) (authenticated bits=0) i1JKFUrQ085717 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Thu, 19 Feb 2004 21:15:33 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.10/8.12.10) with ESMTP id i1JKFLuL055319 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 19 Feb 2004 21:15:22 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.10/8.12.10) with ESMTP id i1JKFLc5066178; Thu, 19 Feb 2004 21:15:21 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.10/8.12.10/Submit) id i1JKFL4N066177; Thu, 19 Feb 2004 21:15:21 +0100 (CET) (envelope-from ticso) Date: Thu, 19 Feb 2004 21:15:21 +0100 From: Bernd Walter To: Aaron Peterson Message-ID: <20040219201520.GB44313@cicely12.cicely.de> References: <9615.162.114.211.143.1077213472.squirrel@mail.alpete.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9615.162.114.211.143.1077213472.squirrel@mail.alpete.com> X-Operating-System: FreeBSD cicely12.cicely.de 5.2-CURRENT alpha User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-4.9 required=3.0 tests=BAYES_00 autolearn=ham version=2.61 X-Spam-Report: * -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on cicely5.cicely.de cc: freebsd-current@freebsd.org Subject: Re: bcwipe won't wipe a block device... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2004 20:15:40 -0000 On Thu, Feb 19, 2004 at 12:57:52PM -0500, Aaron Peterson wrote: > I don't know if this is a problem specific to CURRENT or not, but bcwipe > seems to do the right thing when wiping files. however, when using the -b > option to wipe an entire block device, there is an "Invalid Argument" > error, and I don't understand exactly why... > > fbsd52# bcwipe -bvmd /dev/da0 > Wipe /dev/da0 (y/[n]/a)?a > Wiping device /dev/da0 > Writing to /dev/da0: Invalid argument > fbsd52# bcwipe -bvm3 /dev/fd0 > Wipe /dev/fd0 (y/[n]/a)?a > Wiping device /dev/fd0 > Writing to /dev/fd0: Invalid argument > fbsd52# > > these are examples of commands verbatim from the bcwipe man page... The > devices exist in /dev/, and there is a floppy in the drive... This is the > dmesg for the USB hard disk that I'm ultimately trying to wipe... Why - if the device is there you have a node in /dev. If you don't have the device then there is no node. See devfs(8) -- B.Walter BWCT http://www.bwct.de ticso@bwct.de info@bwct.de