Re: [RFC] put symbolic links between drivers and modules in the sysfs tree

From: Herbert Xu
Date: Sat Sep 25 2004 - 03:07:52 EST


viro@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx wrote:
> On Mon, Sep 20, 2004 at 01:29:44PM -0400, James Bottomley wrote:
>> This functionality is essential for us to work out which drivers are
>> supplied by which modules. We use this in turn to work out which
>> modules are necessary to find the root device (and hence what
>> initrd/initramfs needs to insert).
>
> So what will your userland code do when you run it on a system with
> non-modular kernel currently running?

Totally agreed. If we didn't care about built-in drivers, then we might
as well do cat /proc/modules.

BTW, I'm very glad that this is being worked on and that table in Debian's
mkinitrd can finally die.

Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/