From: Peter Levart <Peter.L<evart@se...> - 2005-04-18 12:25:35
New version of FUSE-J JNI to FUSE binding has been released.
Changes from fuse-j-2.2:
Incorporated a patch from Daniel Wunsch <the.gray@...> (thanks) for a bug
that prevented the propagation of errno from Java to C.
Started to refactor for using new FUSE API (FUSE_USE_VERSION 22). This caused
the Java API to change. fuse.Filesystem interface has 2 new methods (flush,
fsync) and some methods have changed signature (namely: open now returns a
filehandle, read, write and release have an additional filehandle parameter
and write has an aditional flag indicating a writepage operation).
fuse.FuseDirEnt has an aditional inode field, so that a filesystem can return
Old fuse.Filesystems interface has been renamed to fuse.Filesystem1 and an
adapter class fuse.Filesystem1ToFilesystemAdapter has been writen so that old
filesystem implementations can be used unchanged (just replace implements
fuse.Filesystem with implements fuse.Filesystem1).
Download this version from:
Plans for future include:
Change fuse.Filesystem API to use byte instead of String so that file names
encoding will not be forced to UTF-8 as is now done in JNI bindings but could
be done in Java instead. Update fuse.Filesystem1ToFilesystemAdapter to work
with this new API.
Extend fuse.Filesystem API to include methods for working with extended
Figure out how to pass the client info (struct fuse_context) to the Java API.