public abstract class AbstractFuseFileSystem extends Object implements FuseFileSystem
Constructor and Description |
---|
AbstractFuseFileSystem(Path mountPoint) |
Modifier and Type | Method and Description |
---|---|
int |
chmodCallback(String path,
long mode) |
int |
chownCallback(String path,
long uid,
long gid) |
int |
createCallback(String path,
long mode,
ByteBuffer fi) |
int |
flushCallback(String path,
ByteBuffer fi) |
int |
getattrCallback(String path,
ByteBuffer buf) |
FuseContext |
getContext() |
int |
getxattrCallback(String path,
String name,
ByteBuffer value) |
int |
listxattrCallback(String path,
ByteBuffer list) |
int |
mkdirCallback(String path,
long mode) |
void |
mount(boolean blocking,
boolean debug,
String[] fuseOpts)
Executes mount command.
|
int |
openCallback(String path,
ByteBuffer buf) |
int |
readCallback(String path,
ByteBuffer buf,
long size,
long offset,
ByteBuffer fibuf) |
int |
readdirCallback(String path,
long bufaddr,
long filter,
long offset,
ByteBuffer fi) |
int |
releaseCallback(String path,
ByteBuffer fi) |
int |
removexattrCallback(String path,
String name) |
int |
renameCallback(String oldPath,
String newPath) |
int |
rmdirCallback(String path) |
int |
setxattrCallback(String path,
String name,
ByteBuffer value,
long size,
int flags) |
int |
statfsCallback(String path,
ByteBuffer stbuf) |
int |
symlinkCallback(String linkname,
String path) |
int |
truncateCallback(String path,
long size) |
void |
umount(boolean force) |
int |
unlinkCallback(String path) |
int |
writeCallback(String path,
ByteBuffer buf,
long size,
long offset,
ByteBuffer fi) |
public AbstractFuseFileSystem(Path mountPoint)
public void mount(boolean blocking, boolean debug, String[] fuseOpts)
blocking
- whether this command is blockingdebug
- whether to show debug informationfuseOpts
- public void umount(boolean force)
public int openCallback(String path, ByteBuffer buf)
public int readCallback(String path, ByteBuffer buf, long size, long offset, ByteBuffer fibuf)
public int getattrCallback(String path, ByteBuffer buf)
public int readdirCallback(String path, long bufaddr, long filter, long offset, ByteBuffer fi)
public int unlinkCallback(String path)
public int flushCallback(String path, ByteBuffer fi)
public int releaseCallback(String path, ByteBuffer fi)
public int chmodCallback(String path, long mode)
public int chownCallback(String path, long uid, long gid)
public int createCallback(String path, long mode, ByteBuffer fi)
public int mkdirCallback(String path, long mode)
public int rmdirCallback(String path)
public int statfsCallback(String path, ByteBuffer stbuf)
public int truncateCallback(String path, long size)
public int writeCallback(String path, ByteBuffer buf, long size, long offset, ByteBuffer fi)
public int setxattrCallback(String path, String name, ByteBuffer value, long size, int flags)
public int getxattrCallback(String path, String name, ByteBuffer value)
public int listxattrCallback(String path, ByteBuffer list)
public FuseContext getContext()
getContext
in interface FuseFileSystem
Copyright © 2023. All Rights Reserved.