Subject: Wedge aliases
To: None <tech-kern@netbsd.org>
From: Bill Studenmund <wrstuden@netbsd.org>
List: tech-kern
Date: 10/01/2004 17:16:21
--2NLGdgz3UMHa/lqP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

While working on APM support, I realized we may want wedge aliases. I=20
think it's fine for an alias to be a devfs thing, a form of symlink to the=
=20
real wedge node.

The problem I'm seeing is that with Apple partition map support, we will=20
want to add wedges named according to the APM partition name. However=20
systems were all set up to use the 'a' through 'h' type names (sd0a, wd2h,=
=20
etc.).

Also, I was thinking that we could use aliases to handle cases where we=20
had mapped an msdos or Linux partition into a NetBSD disklabel in an MBR.=
=20
While we wouldn't have added wedges for these (as they aren't within the=20
NetBSD MBR wedge), we may still want something like "wd0j" to map to them.

My tentative thought is to add all the wedges, then try to add aliases. =20
That way, regardless of MBR order, when we create aliases, the original=20
wedge has already been added.

Thoughts?

Take care,

Bill

--2NLGdgz3UMHa/lqP
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFBXfNVWz+3JHUci9cRAiz0AKCK6/BVTQyB/P8U51CmBLRWiYAx2QCeO3N5
Qq7YtuOfcGxLHFv9VRiQYSk=
=Vzx3
-----END PGP SIGNATURE-----

--2NLGdgz3UMHa/lqP--