From owner-freebsd-current Tue Jan 21 14: 0: 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 D63F137B401; Tue, 21 Jan 2003 14:00:07 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A7C243E4A; Tue, 21 Jan 2003 14:00: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 XAA25707; Tue, 21 Jan 2003 23:00: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 h0LLxeRL055553; Tue, 21 Jan 2003 22:59:40 +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 h0LLxeTh055552; Tue, 21 Jan 2003 22:59:40 +0100 (MET) Date: Tue, 21 Jan 2003 22:59:40 +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: <20030121225940.G37868@uriah.heep.sax.de> Reply-To: Joerg Wunsch Mail-Followup-To: Joerg Wunsch , phk@freebsd.org, freebsd-current@freebsd.org References: <20030121223403.D37868@uriah.heep.sax.de> <18479.1043185450@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: <18479.1043185450@critter.freebsd.dk>; from phk@freebsd.org on Tue, Jan 21, 2003 at 10:44:10PM +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: > 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 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