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

From: Herbert Xu
Date: Sun Sep 26 2004 - 05:38:56 EST


James Bottomley <James.Bottomley@xxxxxxxxxxxx> wrote:
>
>> So what will your userland code do when you run it on a system with
>> non-modular kernel currently running?
>
> Not put a module in the initial ramdisk, since it would be unnecessary.
> The only information the patch seeks to add is the linkage between
> driver and module. So you can work back from sysfs to know which
> devices have which modules

You're assuming that the kernel before/after the reboot have the same
configuration. This is false in general.
--
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/