After spent 3 days to play the FUSE and macFUSE, i finally connected Peter-file-system (https://code.google.com/p/pfsbuilder) to my mac/linux machine.
It is quite simple and straightforward, I write a FUSE program that create a JVM and load my PFS stub (writhed in Java), every FUSE function calls will route to the stub and manipulates the PFS image. Here is the diagram:
The PFSBuilder can do these things:
1) compress/decompress a PFS image file from a directory
2) FUSE stub https://code.google.com/p/pfsbuilder/source/browse/#svn%2Ftrunk%2Fpfs-fuse
PFS fs spec is here https://pfsbuilder.googlecode.com/files/PFS2005_Spec1.pdf . I made PFS in 2005, it is a very simple FS and doesn’t have much feature. I made it because I want to know how the FS work and I did insert PFS to my hobby kernel
Don’t ask me what are the advantages of PFS, the only one advantage it has is : it has no advantage.
read count : 515