Package com.usatiuk.dhfsfuse
Class DhfsFuse
java.lang.Object
ru.serce.jnrfuse.AbstractFuseFS
ru.serce.jnrfuse.FuseStubFS
com.usatiuk.dhfsfuse.DhfsFuse
- All Implemented Interfaces:
ru.serce.jnrfuse.FuseFS,ru.serce.jnrfuse.Mountable
@ApplicationScoped
public class DhfsFuse
extends ru.serce.jnrfuse.FuseStubFS
FUSE file system implementation.
-
Field Summary
Fields inherited from class ru.serce.jnrfuse.AbstractFuseFS
fuseOperations, libFuse, mounted, mountPoint -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintintintintintintread(String path, jnr.ffi.Pointer buf, long size, long offset, ru.serce.jnrfuse.struct.FuseFileInfo fi) intreaddir(String path, jnr.ffi.Pointer buf, ru.serce.jnrfuse.FuseFillDir filler, long offset, ru.serce.jnrfuse.struct.FuseFileInfo fi) intintintintintintintintintintwrite(String path, ByteBuffer buffer, long offset, ru.serce.jnrfuse.struct.FuseFileInfo fi) intwrite(String path, jnr.ffi.Pointer buf, long size, long offset, ru.serce.jnrfuse.struct.FuseFileInfo fi) intwrite_buf(String path, ru.serce.jnrfuse.struct.FuseBufvec buf, long off, ru.serce.jnrfuse.struct.FuseFileInfo fi) Methods inherited from class ru.serce.jnrfuse.FuseStubFS
access, bmap, destroy, fallocate, fgetattr, flock, flush, fsync, fsyncdir, ftruncate, getxattr, init, ioctl, link, listxattr, lock, mknod, opendir, poll, read_buf, releasedir, removexattr, setxattrMethods inherited from class ru.serce.jnrfuse.AbstractFuseFS
getContext, getFSName, mount, umountMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ru.serce.jnrfuse.Mountable
mount, mount, mount
-
Constructor Details
-
DhfsFuse
public DhfsFuse()
-
-
Method Details
-
statfs
- Specified by:
statfsin interfaceru.serce.jnrfuse.FuseFS- Overrides:
statfsin classru.serce.jnrfuse.FuseStubFS
-
getattr
- Specified by:
getattrin interfaceru.serce.jnrfuse.FuseFS- Overrides:
getattrin classru.serce.jnrfuse.FuseStubFS
-
utimens
- Specified by:
utimensin interfaceru.serce.jnrfuse.FuseFS- Overrides:
utimensin classru.serce.jnrfuse.FuseStubFS
-
open
- Specified by:
openin interfaceru.serce.jnrfuse.FuseFS- Overrides:
openin classru.serce.jnrfuse.FuseStubFS
-
release
- Specified by:
releasein interfaceru.serce.jnrfuse.FuseFS- Overrides:
releasein classru.serce.jnrfuse.FuseStubFS
-
read
public int read(String path, jnr.ffi.Pointer buf, long size, long offset, ru.serce.jnrfuse.struct.FuseFileInfo fi) - Specified by:
readin interfaceru.serce.jnrfuse.FuseFS- Overrides:
readin classru.serce.jnrfuse.FuseStubFS
-
write
public int write(String path, jnr.ffi.Pointer buf, long size, long offset, ru.serce.jnrfuse.struct.FuseFileInfo fi) - Specified by:
writein interfaceru.serce.jnrfuse.FuseFS- Overrides:
writein classru.serce.jnrfuse.FuseStubFS
-
write
public int write(String path, ByteBuffer buffer, long offset, ru.serce.jnrfuse.struct.FuseFileInfo fi) -
create
- Specified by:
createin interfaceru.serce.jnrfuse.FuseFS- Overrides:
createin classru.serce.jnrfuse.FuseStubFS
-
mkdir
- Specified by:
mkdirin interfaceru.serce.jnrfuse.FuseFS- Overrides:
mkdirin classru.serce.jnrfuse.FuseStubFS
-
rmdir
- Specified by:
rmdirin interfaceru.serce.jnrfuse.FuseFS- Overrides:
rmdirin classru.serce.jnrfuse.FuseStubFS
-
rename
- Specified by:
renamein interfaceru.serce.jnrfuse.FuseFS- Overrides:
renamein classru.serce.jnrfuse.FuseStubFS
-
unlink
- Specified by:
unlinkin interfaceru.serce.jnrfuse.FuseFS- Overrides:
unlinkin classru.serce.jnrfuse.FuseStubFS
-
truncate
- Specified by:
truncatein interfaceru.serce.jnrfuse.FuseFS- Overrides:
truncatein classru.serce.jnrfuse.FuseStubFS
-
chmod
- Specified by:
chmodin interfaceru.serce.jnrfuse.FuseFS- Overrides:
chmodin classru.serce.jnrfuse.FuseStubFS
-
readdir
public int readdir(String path, jnr.ffi.Pointer buf, ru.serce.jnrfuse.FuseFillDir filler, long offset, ru.serce.jnrfuse.struct.FuseFileInfo fi) - Specified by:
readdirin interfaceru.serce.jnrfuse.FuseFS- Overrides:
readdirin classru.serce.jnrfuse.FuseStubFS
-
readlink
- Specified by:
readlinkin interfaceru.serce.jnrfuse.FuseFS- Overrides:
readlinkin classru.serce.jnrfuse.FuseStubFS
-
chown
- Specified by:
chownin interfaceru.serce.jnrfuse.FuseFS- Overrides:
chownin classru.serce.jnrfuse.FuseStubFS
-
symlink
- Specified by:
symlinkin interfaceru.serce.jnrfuse.FuseFS- Overrides:
symlinkin classru.serce.jnrfuse.FuseStubFS
-
write_buf
public int write_buf(String path, ru.serce.jnrfuse.struct.FuseBufvec buf, long off, ru.serce.jnrfuse.struct.FuseFileInfo fi) - Specified by:
write_bufin interfaceru.serce.jnrfuse.FuseFS- Overrides:
write_bufin classru.serce.jnrfuse.FuseStubFS
-