Subject: Re: disklabel(8) and machdep on-disk structures issues
To: None <tech-kern@NetBSD.org>
From: Ignatios Souvatzis <ignatios@theory.cs.uni-bonn.de>
List: tech-kern
Date: 11/10/2003 10:20:53
--h31gzZEtNLTqOjlF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

On Mon, Nov 10, 2003 at 11:02:01AM +1100, Luke Mewburn wrote:

> Does the raw label share the same location on the disk as the
> "native platform" label?  If so, that's a design flaw in that
> port's choice of LABELSECTOR/LABELOFFSET.

The Amiga RDB structure uses a (not very deep) tree of blocks, with the
root block being anywhere from block 0 to 15, including, and pointing
to three linked lists, one of partion descriptor blocks, one of=20
bad block table blocks, and one of file system header blocks, which in
turn point to a linked list of code blocks each.

You can't know what blocks are free unless you have parsed this stuff.

Regards,
	-is

--h31gzZEtNLTqOjlF
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: 2.6.i

iQEVAgUBP69YcTCn4om+4LhpAQEU4wgArrX4hVLx0xf3T5P8zs/S68PvIzdHLYsu
1t5bCEnkFjab2F9o6xOgelf7LDVBIQY9dY84m2VDe58M0ijP4bkPFEo5OvI+Ujnd
to1iZc98O3qqxfoJ0ymtKEYR8ua2GDz0yrMcIiX76+2Pfp7+Tsb5+DAFvkrBQkzZ
ZH5sx8Fh/z56oROKfHS2ZWgDRpj3Z9XbMWTkEl+JEHehXqMzIdjBTPUDDkctRMJK
Eds3QF3p83pxu/+PCHF/qK3xUWpwWTRSVBlms7K3ZvuYoLssL9KEppqJti2V+e4W
1zX+JTmPI7M9IReE5+PsRDwJtK4JExM/QgODUjgFnm4Au2X56Ajc/w==
=nD2q
-----END PGP SIGNATURE-----

--h31gzZEtNLTqOjlF--