lkml.org 
[lkml]   [2000]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: Proposal: /lib/modules/<version> matching /usr/src/linux
ken@turbolinux.co.jp writes:
>On Sun, Jul 30, 2000 at 07:13:58PM -0700, Adam J. Richter wrote:
>> I would like to be able to have a utility that can do
>> things like make a boot disk for with "all wireless ethernet drivers",
>> "all IDE drivers", and which would have to include a list of
>> modules in the sources that would have to be updated with each
>> source code release. The current module layout, which puts most
>> hardware drivers in "misc", prevents this. I would like to change
>> the layout of /lib/modules/<version> to mirror the layout of
>> /usr/src/linux.

>Do you mean /usr/src/linux/drivers ?

There are modules outside of the drivers directory, so I mean
to mirror /usr/src/linux. For example, I might want to be able to
specify "all networking modules."

>If so, I think it's a reasonable
>idea as well but it would seem that this heirarchy itself could use some
>reorganzation. For instance, there are directories for block and char,
>yet other block and character devices live outside these directories.

Probably. In any case, this way, future changes of the
/usr/src/linux directory tree layout would only have to be made in
one place and would not require new releases of modutils as such
changes were made.

>Why is this new heirarchy required for your boot disks? Couldn't you
>make your own heirarchy within, say, an XML file for your application?

Such an XML file would have to keep track of the names of
new modules as they are developed, and it would create two places
where such information would have to be updated instead of one. By
making the /lib/modules/<version> tree mirror /usr/src/linux, that will
enable programs that only need to be updates when the actual directory
layout changes.

Thanks for your input, by the way.

Adam J. Richter __ ______________ 4880 Stevens Creek Blvd, Suite 104
adam@yggdrasil.com \ / San Jose, California 95129-1034
+1 408 261-6630 | g g d r a s i l United States of America
fax +1 408 261-6631 "Free Software For The Rest Of Us."

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.132 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site