anybody there being interested in having bzip2 compression in zfs-fuse ? (maybe for demonstration, academical purpose or just for fun)
i was curious how this could be done and i have taken a look at lzo patch and into bzip2 sources and programming manual.
from my programming-rookie perspective, it looks sort of straightforward to implement bzip2 compression for zfs-fuse. including a handful of files into the build process and then use utility functions BZ2_bzBuffToBuffCompress and BZ2_bzBuffToBuffDecompress appropriately.
maybe some more skilled person can tell if this is correct ?
unfortunately, this is not a matter of "hack this in one evening" project for me, but maybe there are others interested in this !?
bzip2 sources/docs are here:
http://www.bzip.org/1.0.4/bzip2-1.0.4.tar.gz
http://www.bzip.org/docs.html
i have made a stripped archive containing that what`s absolutely necessary from my point of view:
http://www.computerkeek.de/projects/zfs-fuse/bzip2-1.0.4-mini.tar.gz
apparently codesize seems to be similar to minilzo.
regards
roland
_______________________________________________________________________
Jetzt neu! Schützen Sie Ihren PC mit McAfee und WEB.DE. 30 Tage
kostenlos testen. http://www.pc-sicherheit.web.de/startseite/?mc=022220