vasi / squashfuse

FUSE filesystem to mount squashfs archives
Other
291 stars 66 forks source link

Add LZ4 support #2

Closed Piezoid closed 10 years ago

vasi commented 10 years ago

Hey, thanks for the contribution! This was definitely on my todo list, it's great to have help suddenly appear out of nowhere :)

The code looks great, I can probably pull as soon as I have time to do some test builds.

Piezoid commented 10 years ago

Your're welcome! I'm happy to see this is is maintained.

I was surprised i could do it in less than 10 minutes, the code is well organized.

My use case for this project is to mount a compressed minimal archlinux root on android. Since android 4.2+, most of the roms and stock firmwares I've seen have builtin fuse but no squashfs support.

One feature i'd like to add, is transparent fusion with a RW directory, thus avoiding a second fuse layer (like unionfs-fuse).

vasi commented 10 years ago

I'm making the core of squashfuse a bit more library-like. It doesn't yet build a shared lib, nor do I promise a stable API. But now you can try making an alternate FUSE client with a writable overlay, if you feel like it :)

Piezoid commented 10 years ago

Yes, I've seen the trend of separation in the code. It may be easier to add the feature to unionfs-fuse since the layered file-system architecture already there, but the system is path based (using the high level fuse API).

vasi commented 10 years ago

I actually just wrote a high-level API implementation of squashfuse yesterday, I'll push it in the next couple of days. I'm not sure how much easier that will make things for you, but maybe a bit...