[OLPC-devel] just verified: 2306 + olpc + linux kernel works.
Carl-Daniel Hailfinger
c-d.hailfinger.devel.2006 at gmx.net
Thu May 25 21:56:49 EDT 2006
Carl-Daniel Hailfinger wrote:
> David Woodhouse wrote:
>> On Fri, 2006-05-26 at 03:12 +0200, Carl-Daniel Hailfinger wrote:
>>> Now that makes very much sense. I have a version of the LZMA decompression
>>> code which has been converted to Linux kernel coding style and will be
>>> sending that for review soon.
>>>
>>> This leaves the problem that LZMA compression code is C++. Two ideas:
>>> * call lzma compressor as usermode helper (nasty!)
>>> * make lzma compressed files readonly (not modifiable, but deletable)
>>> and give userspace the ability to directly write compressed lzma files.
>> Neither of those options work too well. What would it take to rewrite it
>> in C and make it conform to the Linux coding style too?
>
> A very strong stomach. But maybe someone already did that and I'm just
> not aware of it. You would still have giant memory allocations in the
> kernel, though.
It seems there were lzma patches for cramfs floating around, but all the
websites have vanished. Even archive.org did not give the code I was
looking for. Some code which seems to have served as a base for the
cramfs lzma patches is archived, but I don't know in what state it is.
http://web.archive.org/web/20050307185448/martinus.geekisp.com/rublog.cgi/Projects/LZMA
Then there's the CE Linux Forum. They might still have one of the patches
stored somewhere.
Regards,
Carl-Daniel
--
http://www.hailfinger.org/
More information about the Devel
mailing list