Closed Piezoid closed 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).
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 :)
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).
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...
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.