Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2003 22:59:40 +0100
From:      Joerg Wunsch <>
Subject:   Re: I want a sysctl kern.allow_shooting_into_my_foot!
Message-ID:  <>
In-Reply-To: <>; from on Tue, Jan 21, 2003 at 10:44:10PM +0100
References:  <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
As wrote:

> Hang on.
> If no disk partitions of any kind are open, there is nothing which
> prevents you from doing a "dd if=/dev/zero of=/dev/da0 bs=64k".

My guess is that vinum scanned the disks when starting, but found
nothing on it.

However, my really concern is what i wrote in the subject: i do want
something like an option -f for all of this.  I'd like to say: hey, i
am the admin here.  I don't care whether there's anything still active
on this disk.  If it is, it is OK for me if the kernel panicked if
there was something actually still going on.  We have umount -f, it
was a long way to it.  Now i also want disklabel -f, dd -f, and so on.

I don't want this to be the default.  Of course.

> Now, if you tell me you tried
> 	dd if=/dev/zero of=/dev/da0c bs=64k
> it would stop you          (notice ^)

Sorry, this was too unexpected to me, and meanwhile i've found a way
to trash and relabel that disk, so i cannot reproduce it anymore.  Why
the sudden `c' partition for it?  I thought this is rather considered
obsolete, and was merely a historical feature used in a time when
there was no such method like accessing /dev/da0 directly?  This
sounds like a step 5 years backwards to me.

cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)

To Unsubscribe: send mail to
with "unsubscribe freebsd-current" in the body of the message

Want to link to this message? Use this URL: <>