Subject: Re: disklabel won't! (WAS: Re: Bootability eludes me once again)
To: Roland Dowdeswell <elric@imrryr.org>
From: Hauke Fath <hf@tangro.de>
List: port-i386
Date: 02/24/2003 14:00:43
Am 23.02.2003 um 14:50 Uhr -0500  schrub Roland Dowdeswell:
>disklabel -r will scan the front or the disk
>[using the raw device] for the disklabel, whereas the kernel will
>look for the disklabel in a fixed position.

Actually, this varies with the port.

At least sparc (and mac68k in its track) scans the first 8 KByte of 
the disk in four byte strides for valid magic numbers that indicate a 
disklabel. The code  was probably modelled after the disklabel(8) 
behaviour.

	hauke

-- 
          Hauke Fath                      /~\  The ASCII Ribbon Campaign
tangro software components gmbh          \ /    No HTML/RTF in email
      D-69115 Heidelberg                   X     No Word docs in email
  Ruf +49-6221-1333-60, Fax -621          / \  Respect for open standards