LZO support

Chris Ball cjb at laptop.org
Mon Jul 14 12:50:26 EDT 2008


   >> I prefer aiming at #2886 ("Some files shouldn't be compressed by
   >> jffs2"), which goes a long way to solving the user problems
   >> without introducing the logistical cost of LZO support in OFW or
   >> partitions.

   > How would this work? Should we create an empty file, set an xattr
   > and then start writing? If so, we should think about how we can
   > modify all sw to do so. Alternatively, as in most cases data is
   > already compressed, perhaps would be better to not compress by
   > default - or let that process to zip the file with gzip :P.

Deepak suggests (in #2886) using something like an O_NOCOMPRESSION flag
to open(2), which sounds fine to me.  We'd either pass it to Python's
open() (how?) or set it immediately after open with fcntl(, F_SETFL, ).

- Chris.
Chris Ball   <cjb at laptop.org>

More information about the Devel mailing list