> > Whoever invented this /lib/modules/... scheme should have known that
> > it provokes this sort of misunderstandings, not to mention is broken
> > in other ways too.
>
> it was Linus who decreed this to be the standard;)
no matter who decreed it. Even Linus may be wrong sometimes.
> yes, and most of the time you want to compile against the currently
> running kernel, at which point `uname -r` comes in handy; for other
> kernels you just change the path a bit.
> make install and make modules_install make the symlink right already....
> it's a 99% solution, sure, but it's ok for all but a few cases.
And what's exactly wrong with the other 99% solution of putting it in
/usr/src/linux-`uname -r` ? This has exactly the same advantages but
doesn't mix up between development and runtime environment; /usr/src
is clearly where source belongs and /lib/modules is an install target.
Even Linus has finally accepted that the root of the source tree is
best called linux-$VERSION rather than just linux, so this is not an
obstacle either.
Olaf
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Thu Jan 23 2003 - 22:00:24 EST