Copy current CryFS implementation (which rather was CopyFS) to a copyfs directory

This commit is contained in:
Sebastian Messmer 2014-12-07 08:33:47 +01:00
parent 3af17f24d9
commit 39ab086bb6
2 changed files with 3 additions and 2 deletions

View File

@ -1,3 +1,3 @@
add_library(cryfs_lib CryDevice.cpp CryDir.cpp CryFile.cpp CryNode.cpp CryOpenFile.cpp)
target_link_libraries(cryfs_lib boost_filesystem boost_system)
target_link_libraries(cryfs_lib)

View File

@ -5,6 +5,7 @@
#include "fspp/fuse/Fuse.h"
#include "fspp/impl/FilesystemImpl.h"
#include "copyfs/CopyDevice.h"
#include "cryfs_lib/CryDevice.h"
namespace bf = boost::filesystem;
@ -12,7 +13,7 @@ namespace bf = boost::filesystem;
int main (int argc, char *argv[])
{
printf("Version: %d\n", buildconfig::VERSION::MAJOR);
cryfs::CryDevice device(bf::path("/home/heinzi/cryfstest/root"));
copyfs::CopyDevice device(bf::path("/home/heinzi/cryfstest/root"));
fspp::FilesystemImpl fsimpl(&device);
fspp::fuse::Fuse fuse(&fsimpl);
fuse.run(argc, argv);