04.07.2015 16:23, Erich Titl пишет:
>
>
> Am 04.07.2015 um 15:15 schrieb Andrew:
>> 04.07.2015 15:59, Erich Titl пишет:
>>> Hi
>>>
> ...
>>>
>>> Erich
>> I'm not sure that we should store all modules in moddb by default.
>> There's no profit for this.
>
> Sure there is, detecting dependencies is a fine thing at the first 
> installation or after a hardware or software upgrade, but completely 
> needless for day to day use.

How we can detect, is hardware modules are already probed earlier? Or 
how we can detect software upgrade fact during boot?

>
> In rare cases (like devices with small
>> internal storage) we can use moddb for storing modules if there's no
>> space for modules.sqfs, or we can store custom modules here - but for
>> most cases IMHO moddb is unneeded.
>
> I don't like to waste storage for unneeded things. I'd rather use that 
> space for a nice user interface.
>
> Let's just see, commercial equipment comes with all this and between 4 
> and 16 MB storage only. Also most of the time it has integrated 
> firmware upgrade options. I agree, it is by far not as flexible as 
> LEAF, but it should also be our goal to be KISS for the user. Upgrade 
> has ben written with this goal.
>
> cheers
>
> Erich

You're not right - 4-16M is only actual for SOHO 'single-function' 
devices. For ex., Mikrotik (that is also SOHO-class, but with extra 
functional) uses 64M+ NAND flash.

Also, support of one platform (like SOHO ones) is much easier than 
support of wide hardware list.

And for correct upgrade we need to have all actual modules somewhere on 
storage, and load them at least on first boot (to store them later to 
moddb) - else we may have broken system during upgrade, for ex., with 
broken network support which should cause a big headache during remote 
update. So, we should have sqfs on storage. And if we have it on storage 
- IMHO moddb usage becomes unnecessary.

------------------------------------------------------------------------------
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