Hi

Am 04.07.2015 um 13:56 schrieb Andrew:
04.07.2015 11:34, Erich Titl пишет:
Hi

Am 04.07.2015 um 09:50 schrieb Andrew:
Hi.

In most cases probing from squashfs is preferred over loading from moddb
- at least, this will not break system after update if it'll require
some modules that aren't in moddb (for ex., some ethernet driver).

We may add some option to use legacy behavior with sqfs, or we may add
fallback behavior with tgz package for hwdetect.

This would IMHO be a very ugly behaviour. I belived and still believe
that the sqfs was a more elegant replacement for modules.tgz, and it
is. You decided to use it also on startup with hwdetect, which makes
IMHO most of the modules in initmod completely redundant.
This makes moddb completely redundant, and this is leaved only for
systems with small storage + rare cases like custom modules. Initmod is
needed anycase - it's mounted with rootfs, and requires loaded
storage-related modules.

I don't buy this

I tried to make up my mind for what I believe would be the correct behaviour

1) initrd/mod should only contain a basic set of storage related modules, making this really small and stupid. 2) Then moddb should be installed which will contain the previously set modules. We should find a way of only copying the modules needed for the hardware, so redundant stuff in moddb would disappear with the next save. 3) Then whatever hwdetect can still find the missing modules may be fetched from squashfs, this should be the last resort for missing hardware modules.

In any case moddb should be a _copy_ of the modules in /lib/modules. I would also _like_ that the modules are not installed in a flat directory, as has been customary in the past few years. There is a reason why the kernel developers put them in a tree structure :-)

cheers

Erich

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to