From owner-freebsd-current@FreeBSD.ORG Thu Feb 19 09:55:45 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 5C4B316A4D2 for ; Thu, 19 Feb 2004 09:55:45 -0800 (PST) Received: from ex-nihilo-llc.com (ex-nihilo-llc.com [206.114.147.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2554443D2D for ; Thu, 19 Feb 2004 09:55:45 -0800 (PST) (envelope-from aaron@alpete.com) Received: from mail.alpete.com (localhost [127.0.0.1]) by ex-nihilo-llc.com (Postfix) with SMTP id 995456F5 for ; Thu, 19 Feb 2004 12:57:52 -0500 (EST) Received: from 162.114.211.143 (proxying for 172.26.45.231) (SquirrelMail authenticated user aaron@alpete.com) by mail.alpete.com with HTTP; Thu, 19 Feb 2004 12:57:52 -0500 (EST) Message-ID: <9615.162.114.211.143.1077213472.squirrel@mail.alpete.com> Date: Thu, 19 Feb 2004 12:57:52 -0500 (EST) From: "Aaron Peterson" To: freebsd-current@freebsd.org User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal Subject: bcwipe won't wipe a block device... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: aaron@alpete.com 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 17:55:45 -0000 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... umass0: Cypress Semiconductor USB2.0 Storage Device, rev 2.00/0.01, addr 2 umass0: Get Max Lun not supported (STALLED) GEOM: create disk da0 dp=0xc2060450 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: 114473MB (234441648 512 byte sectors: 255H 63S/T 14593C)