From owner-freebsd-current@FreeBSD.ORG Thu Feb 19 12:48:01 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 8BE3A16A4CE for ; Thu, 19 Feb 2004 12:48:01 -0800 (PST) Received: from ex-nihilo-llc.com (ex-nihilo-llc.com [206.114.147.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7391443D2D for ; Thu, 19 Feb 2004 12:48:01 -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 623316F5; Thu, 19 Feb 2004 15:50:09 -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 15:50:09 -0500 (EST) Message-ID: <46490.162.114.211.143.1077223809.squirrel@mail.alpete.com> In-Reply-To: <20040219204012.GA33771@troutmask.apl.washington.edu> References: <9615.162.114.211.143.1077213472.squirrel@mail.alpete.com> <20040219201520.GB44313@cicely12.cicely.de> <29352.162.114.211.143.1077222503.squirrel@mail.alpete.com> <20040219204012.GA33771@troutmask.apl.washington.edu> Date: Thu, 19 Feb 2004 15:50:09 -0500 (EST) From: "Aaron Peterson" To: "Steve Kargl" 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 cc: freebsd-current@freebsd.org cc: ticso@cicely.de cc: Aaron Peterson 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: 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 20:48:01 -0000 > On Thu, Feb 19, 2004 at 03:28:23PM -0500, Aaron Peterson wrote: >> >> I understand how devfs works, and i don't think that is the problem, >> although perhaps I'm misunderstanding what you mean. >> >> dd if=/dev/urandom of=/dev/da0 >> dd if=/dev/urandom of=/dev/fd0 >> >> these devices and nodes all exist, and these dd commands do as expected >> and take off writing random data to the raw device. However i get the >> errors mentioned previously when i try to use bcwipe on the same drives. >> I would like to find a way to make bcwipe work. any suggestions about >> what is causing this problem? > > Use ktrace or truss to see if bcwipe is actually opening /dev/da0 > or /dev/rda0 or /dev/da0c. > > -- > Steve > The output was too long I though to post back to the list from ktrace/kdump... you can read it here: http://www.alpete.com/bcwipe.kdump.txt I'm not so good at understanding it since it is the first time I've ever used ktrace :) I think I understand some of it, but I still don't understand the problem, so perhaps you guys can shed some light on the subject for me...