From owner-freebsd-current Tue Jan 21 13:40: 9 2003 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 2112B37B401 for ; Tue, 21 Jan 2003 13:40:08 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C4BC43ED8 for ; Tue, 21 Jan 2003 13:40:06 -0800 (PST) (envelope-from j@uriah.heep.sax.de) Received: (from uucp@localhost) by sax.sax.de (8.9.3/8.9.3) with UUCP id WAA25371 for freebsd-current@freebsd.org; Tue, 21 Jan 2003 22:40:05 +0100 (CET) Received: from uriah.heep.sax.de (localhost.heep.sax.de [127.0.0.1]) by uriah.heep.sax.de (8.12.6/8.12.6) with ESMTP id h0LLY3RL054937 for ; Tue, 21 Jan 2003 22:34:03 +0100 (MET) (envelope-from j@uriah.heep.sax.de) Received: (from j@localhost) by uriah.heep.sax.de (8.12.6/8.12.6/Submit) id h0LLY3wS054936 for freebsd-current@freebsd.org; Tue, 21 Jan 2003 22:34:03 +0100 (MET) Date: Tue, 21 Jan 2003 22:34:03 +0100 From: Joerg Wunsch To: freebsd-current@freebsd.org Subject: I want a sysctl kern.allow_shooting_into_my_foot! Message-ID: <20030121223403.D37868@uriah.heep.sax.de> Reply-To: Joerg Wunsch Mail-Followup-To: Joerg Wunsch , freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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