#include #include #include #include #include #include #include "messmer/fspp/fuse/Fuse.h" #include "messmer/fspp/impl/FilesystemImpl.h" #include "filesystem/CryDevice.h" #include "config/CryConfigLoader.h" #include "version/VersionHandler.h" namespace bf = boost::filesystem; using blockstore::ondisk::OnDiskBlockStore; using blockstore::inmemory::InMemoryBlockStore; using cpputils::make_unique_ref; using std::cout; using std::endl; int main (int argc, char *argv[]) { cout << "CryFS Version "<(bf::path("/home/heinzi/cryfstest/root")); auto config = cryfs::CryConfigLoader().loadOrCreate(bf::path("/home/heinzi/cryfstest/config.json")); cryfs::CryDevice device(std::move(config), std::move(blockStore)); fspp::FilesystemImpl fsimpl(&device); fspp::fuse::Fuse fuse(&fsimpl); fuse.run(argc, argv); return 0; }