Is Nethserver bigger than expected?


#1

Hello,

I was playing with the Disk Usage to see how big is the e-smith layer?
( Is not a fixation :laughing: )
But the directory not appear in the disk usage…
There lot of things that not appear…


In the print screen: green is usr and red is share…
In the disk usage there’s only 9 sub directories…
When in the command line, there’s lot of more directories…

How the size is calculated? Is is correct?


(Alessio Fattorini) #2

In the graph are showed only directories over certain size, in particularly this size is 10MB
http://docs.nethserver.org/projects/nethserver-devel/en/latest/duc.html


(Bogdan Costin) #3

Maybe a footnote on the bottom of the page should be added so the users do not get confused in the future.
Note: Only folders that contain more than 10 MB are shown

BR
Bogdan


(Alessio Fattorini) #4

Yes, I support it too /cc @edoardo_spadoni


#5

Is there a technical reason for this sort of limitation?
Is to save ressources? Or is this size is the minimum for the precision?


(Edoardo Spadoni) #6

Hi Jim,

Yes, when we planned the development, we have considered the size of the exported indexed db from duc in order to save resources from the browser. We have considered only folders with minimum size of 10MB.

Duc doesn’t have limitations of size or file type in order to optimize the precision. The action for the duc indexing is:

/etc/e-smith/events/actions/nethserver-duc-index

and, as you can see, there are the restrictions applied by us to optimize the graphics interactions.
SIZE=10000000 and --exclude-files option in the xml creation.


(Alessio Fattorini) #7