Download VeilFS Documentation

Transcript
VeilFS Documentation, Release 1.0
namespace veil
namespace client
class VeilFS
The VeilFS main class.
This class contains FUSE all callbacks, so it basically is an heart of
the filesystem. Technically VeilFS is an singleton created on programm
start and registred in FUSE daemon.
Public Functions
VeilFS(std::string path, boost::shared_ptr< Config > cnf,
boost::shared_ptr< JobScheduler > scheduler, boost::shared_ptr<
FslogicProxy > fslogic, boost::shared_ptr< MetaCache >
metaCache, boost::shared_ptr< StorageMapper > mapper,
boost::shared_ptr< helpers::StorageHelperFactory > sh_factory)
VeilFS constructor.
~VeilFS()
int access(const char * path, int mask)
access FUSE callback.
Not implemented yet.
int getattr(const char * path, struct stat * statbuf, bool fuse_ctx =
true)
getattr FUSE callback.
See
int readlink(const char * path, char * link, size_t size)
readlink FUSE callback.
Not implemented yet.
See
int mknod(const char * path, mode_t mode, dev_t dev)
mknod FUSE callback.
See
3.11. veilfs.h
59