public abstract class AbstractFuseFileSystem extends Object implements FuseFileSystem
Constructor and Description |
---|
AbstractFuseFileSystem(Path mountPoint)
Constructs an
AbstractFuseFileSystem . |
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,
Set<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 |
renameCallback(String oldPath,
String newPath,
int flags) |
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)
Umount the mount point of this Fuse Filesystem.
|
int |
unlinkCallback(String path) |
int |
utimensCallback(String path,
long aSec,
long aNsec,
long mSec,
long mNsec) |
int |
writeCallback(String path,
ByteBuffer buf,
long size,
long offset,
ByteBuffer fi) |
public AbstractFuseFileSystem(Path mountPoint)
AbstractFuseFileSystem
.mountPoint
- public void mount(boolean blocking, boolean debug, Set<String> fuseOpts)
blocking
- whether this command is blockingdebug
- whether to show debug informationfuseOpts
- the fuse mount optionspublic void umount(boolean force)
force
- whether to do a force umountpublic 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 utimensCallback(String path, long aSec, long aNsec, long mSec, long mNsec)
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.