Subject: Re: Why are the kernel modules located in /usr?
To: Jeremy C. Reed <reed@reedmedia.net>
From: Quentin Garnier <cube@cubidou.net>
List: tech-kern
Date: 02/16/2006 22:31:43
--eMP3JyRexyk9c0Bv
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Feb 16, 2006 at 01:18:22PM -0800, Jeremy C. Reed wrote:
> Why are the kernel modules located in /usr? Why does KMODDIR default to=
=20
> /usr/lkm?
>=20
> It seems like /lkm would be better.
>=20
> Is it a disk space issue?

More like general brokenness of our LKM subsystem.

> It may be useful to use /lkm in the event that kernel modules are needed=
=20
> before /usr is (or can be) mounted.

And that would be logical, after all, modload itself lives in /sbin.

But there's a catch.

I'm almost too ashamed to say that.

=2E..

=2E..

<small><small><small>modload invokes ld</small></small></small>

OTOH, I know a develociraptor that knows someone who's working on an
in-kernel linker...  I hope to have news about that someday :)

--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"When I find the controls, I'll go where I like, I'll know where I want
to be, but maybe for now I'll stay right here on a silent sea."
KT Tunstall, Silent Sea, Eye to the Telescope, 2004.

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

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

iQEVAwUBQ/TvP9goQloHrPnoAQI+Mwf/U3XkVkqEEWdm9PCfD8eunNZEufukeIcU
g8Ja6vUnQrb75DrtqHBsrhH3ewuHMRb8sgntUlaVKWroxyFW9qWRog+XYKi6jFpp
6EHeMJEXx/gAPwdBRVbTb0v/L7NoRFMU/VKzQY7K2I+pt8Wrc6JSD/MZwlBwiM8k
NEdMB42bbIlSmTWNBi8RyU+6GLPSbRlLp7CPnGM1z3dM/JcWBcJ4/VBweh0WvCZS
MScskR0ixa9ei+x/1UbYACYPmYSeVwgkJHTukGSRarpsCIQvrKeZhZbenujoNyaD
/exRGEqXec30tAi0C6BDCqieFGF4EVlKivAiCtqJfCP2sr1wh9hTww==
=SuiT
-----END PGP SIGNATURE-----

--eMP3JyRexyk9c0Bv--