Subject: Re: disklabel(8) and machdep on-disk structures issues
To: None <tech-kern@NetBSD.org>
From: Ignatios Souvatzis <is@netbsd.org>
List: tech-kern
Date: 11/09/2003 08:09:32
--ReaqsoxgOBHFXBhH
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Nov 08, 2003 at 06:50:11PM +0100, Manuel Bouyer wrote:
> On Sat, Nov 08, 2003 at 04:11:20PM +1100, Luke Mewburn wrote:
> > I still think we should change DIOCWDINFO to write the raw label,
>=20
> I agree, but see below.

May I humbly ask you to note that on some ports (at least amiga, amigappc=
=20
but ISTR that atari? is similar) we don't use any NetBSD disklabel?

If you write a NetBSD disklabel, you'll destroy the native disk information
structure (which contains, among others, the partition table).

So automatically allowing writing a NetBSD label if none is there is a=20
bad, bad idea.

Regards,
	Ignatios

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (NetBSD)

iD8DBQE/regsPCRcZ/VMtk4RAqVFAJsEgJlADVxbA0SCP/LJJvdeUX/jxQCfU/wf
lHz5GMDedDx7dBp7HfoYB+8=
=0qSV
-----END PGP SIGNATURE-----

--ReaqsoxgOBHFXBhH--