Re: bcwipe won't wipe a block device...

From: Aaron Peterson <aaron_at_alpete.com>
Date: Thu, 19 Feb 2004 15:50:09 -0500 (EST)
> 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...
Received on Thu Feb 19 2004 - 11:48:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:43 UTC