Date: Tue, 21 Jan 2003 22:59:40 +0100 From: Joerg Wunsch <j@uriah.heep.sax.de> 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> In-Reply-To: <18479.1043185450@critter.freebsd.dk>; from phk@freebsd.org on Tue, Jan 21, 2003 at 10:44:10PM %2B0100 References: <20030121223403.D37868@uriah.heep.sax.de> <18479.1043185450@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030121225940.G37868>