Hi Erich;

Am Mittwoch, 29. Juli 2015, 10:01:42 schrieb Erich Titl:
> Hi
> 
> Am 25.07.2015 um 18:15 schrieb kp kirchdoerfer:
> ...
> 
> >> Ok, I'll try to add option to init/hwdetect util in some days. I think
> >> that by default we shouldn't save probed modules to moddb.
> > 
> > What about this one?
> > Do you have time to add the code soon?
> > 
> > I'd like to have it before we are doing another rc release for 5.2.
> 
> To tellyou the truth, I don't like the idea of an option, it just adds
> complexity and changes to the init process and that one is rotten enough
> as it is now.
> 
> I would like the current behaviour be kept as the default, new stuff can
> be added as optional, thus users don't have to worry about the settings
> of the boot process.
> 

It depends what you define as "current behaviour".

The current behaviour in 5.2-rc2 is that modules are probed from modules.sqfs 
during boot, copied to /lib/mdoules and loaded.
This is extremly convenient if you have (boot) time and space.

Also updating a kernel requires to replace the kernel, initmod and 
modules.sqfs. New dependencies will be resolved with next boot.

The drawback is, that it is not possible to delete the 9MB modules.sqfs and 
that it always probe, copies and load modules.sqfs.

The idea is to have a parameter in leaf.cfg to save the probed modules to 
moddb, which is a lot smaller and to speed up boottime using moddb instead of 
moduels.sqfs. I believe this is inline with your arguments for small machines.

The code to save to and use moddb isn't really working yet, at least for me. 
But I think we should have that ready when releasing the next rc with 
modules.sqfs insteasd of modules.tgz.

kp


------------------------------------------------------------------------------

_______________________________________________
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to