Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2003 22:34:03 +0100
From:      Joerg Wunsch <j@uriah.heep.sax.de>
To:        freebsd-current@freebsd.org
Subject:   I want a sysctl kern.allow_shooting_into_my_foot!
Message-ID:  <20030121223403.D37868@uriah.heep.sax.de>

next in thread | raw e-mail | index | archive | help
Included an old disk into a running system.  Want to install a new
label onto it:

uncle# disklabel -Brw da0 auto
disklabel: ioctl DIOCSDINFO: open partition would move or shrink

Needless to say, there is nothing open at all on it.  As i said, an
old disk that incidentally has a BSD label on it.  It could have had a
Sun label, a stale fdisk table, or whatever on it.

Needless to say, it doesn't allow me to dd /dev/zero over it, as i
could do in any FreeBSD version until now.

Of course, i could now camcontrol format it, but i really wish
there was a method to get this Windowis^H^H^H^H^H^Hannoying
behaviour turned off for a while.  I /am/ the sysadmin here, i
want to get control over my devices, and i don't want someone
to tell me what i am allowed to do with them.  I want to shoot
into my foot, d*mnit.

At least, there should be an environment variable that turns all these
nitpicky checks off.  (My uneducated guess is it's GEOM firing at me
here, is it?)
-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030121223403.D37868>