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) |
protected LibFuse |
getLibFuse() |
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,
FuseFillDir filter,
long offset,
ByteBuffer fi) |
int |
releaseCallback(String path,
ByteBuffer fi) |
int |
renameCallback(String oldPath,
String newPath) |
int |
rmdirCallback(String path) |
int |
statfsCallback(String path,
ByteBuffer stbuf) |
int |
truncateCallback(String path,
long size) |
void |
umount() |
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()
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, FuseFillDir 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)
protected LibFuse getLibFuse()
Copyright © 2023. All Rights Reserved.