[maemo-developers] Considering /opt and MyDocs in your packages

From: Eero Tamminen eero.tamminen at nokia.com
Date: Wed Oct 21 15:15:32 EEST 2009

ext Graham Cobb wrote:
> On Thursday 10 September 2009 12:16:59 Marius Vollmer wrote:
> By the way, I have been experimenting with maemo-optify.  I think it is 
> currently generating too many links for quite small files.

All files, even symlinks, take some space.  On UBIFS single file
overhead is about 1/4 KB (inodes + filename).

> I think 20K would 
> be a better default for the size and, if feasible, I would like to see the 
> size settable as an option on the command line, to allow the developer to 
> tune it for their particular package.

As UBIFS compresses the file contents[1] with LZO, it's the lzop
  compressed file sizes which should be used for this kind of decision.

Does maemo-optify compare the lzop'ed or non-compressed ones file sizes?

	- Eero

[1] /opt is on ext3 which isn't compressed.
More information about the maemo-developers mailing list