Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Apr 1995 18:00:24 +0200 (MET DST)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-current@FreeBSD.org (FreeBSD-current users)
Cc:        root@io.cts.com
Subject:   Re: How to write -current bootcode to disk?
Message-ID:  <199504301600.SAA06145@uriah.heep.sax.de>
In-Reply-To: <199504301242.WAA26064@godzilla.zeta.org.au> from "Bruce Evans" at Apr 30, 95 10:42:36 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> >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. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199504301600.SAA06145>