From owner-freebsd-current Sun Apr 30 09:36:46 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id JAA29110 for current-outgoing; Sun, 30 Apr 1995 09:36:46 -0700 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id JAA29104 for ; Sun, 30 Apr 1995 09:36:44 -0700 Received: from sax.sax.de by irz301.inf.tu-dresden.de with SMTP (5.67b+/DEC-Ultrix/4.3) id AA14650; Sun, 30 Apr 1995 18:35:48 +0200 Received: by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id SAA08103; Sun, 30 Apr 1995 18:35:48 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.6.11/8.6.9) id SAA06145; Sun, 30 Apr 1995 18:00:25 +0200 From: J Wunsch Message-Id: <199504301600.SAA06145@uriah.heep.sax.de> Subject: Re: How to write -current bootcode to disk? To: freebsd-current@FreeBSD.org (FreeBSD-current users) Date: Sun, 30 Apr 1995 18:00:24 +0200 (MET DST) Cc: root@io.cts.com Reply-To: freebsd-current@FreeBSD.org (FreeBSD-current users) In-Reply-To: <199504301242.WAA26064@godzilla.zeta.org.au> from "Bruce Evans" at Apr 30, 95 10:42:36 pm Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 790 Sender: current-owner@FreeBSD.org Precedence: bulk > >Does this look good to you? > > >io[511]# disklabel -B wd0 > >Warning, revolutions/minute 0 > >super block size 0 > >io[512]# _ > > Not te right. `disklabel -B' only writes the boot blocks, not the label. Unfortunately, it even refuses to write the bootcode if the label is bogus. I've once filed a problem report for this, but the problem lies rather in the bogus label itself. (Given the huge amount of libdisk commits now, i hope this will be solved RSN. :) Thinking about it i noticed that the label is embedded in the boot code, so disklabel obviously wants to be safe and does not change anything in case it discovered bogosities. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-)