From owner-freebsd-current Tue Jan 21 14:30: 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 6A2A037B406; Tue, 21 Jan 2003 14:30:07 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C8FE43EB2; Tue, 21 Jan 2003 14:30:05 -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 XAA26118; Tue, 21 Jan 2003 23:30:04 +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 h0LMOqRL056166; Tue, 21 Jan 2003 23:24:52 +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 h0LMOq4x056165; Tue, 21 Jan 2003 23:24:52 +0100 (MET) Date: Tue, 21 Jan 2003 23:24:52 +0100 From: Joerg Wunsch To: phk@freebsd.org Cc: freebsd-current@freebsd.org Subject: Re: I want a sysctl kern.allow_shooting_into_my_foot! Message-ID: <20030121232452.A55895@uriah.heep.sax.de> Reply-To: Joerg Wunsch Mail-Followup-To: Joerg Wunsch , phk@freebsd.org, freebsd-current@freebsd.org References: <20030121225940.G37868@uriah.heep.sax.de> <18699.1043186765@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <18699.1043186765@critter.freebsd.dk>; from phk@freebsd.org on Tue, Jan 21, 2003 at 11:06:05PM +0100 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 As phk@freebsd.org wrote: > >My guess is that vinum scanned the disks when starting, but found > >nothing on it. > > And forgot to close them again ? At least from a cursory review of the code, no. It closes them again unless a valid vinum configuration has been found. OK, i'll look once again. > >However, my really concern is what i wrote in the subject: i do want > >something like an option -f for all of this. > > GEOM will not allow you to do things which will panic your kernel, > and I'm not going to add that facility, we already have enough > panic(8) implementations if you want one. It wouldn't have paniced it at all, since i /knew/ nothing was open on it. As i wrote, i want to shoot into my foot. There are more ways to do it, like low-level formatting the drive (which is fortunately out of the control of GEOM). ``will not allow you'' -- well, this now sounds like the best reasoning for me to drop GEOM from my kernels, sorry. As long as you can't guarantee GEOM is 100 % bug free, the backdoor is IMHO always required. See the disklabel it would not allow to overwrite me that wasn't even a valid label at all since it was at the beginning of a partition, not of a drive (you never responded to that mail). > I tried to say that if you tried da0c it should stop you, not that > it should work. It already stopped me when accessing /dev/da0, so why try something more obscure? Sorry, you've lost me. -- 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