Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, I have created a small virtual filesystem using FUSE, I can mount it and create or delete files. After unmounting all the work I have done is simply gone.
I want to make it persistent so that after unmounting or system reboot, if I mount it again I could see the contents as they were before at the time of unmounting or system reboot.

Is there any method to create an Image, link it to our FUSE based filesystem and the work done is simply saved in that Image, so that if I mount that Image again I can see the contents again.

Thanks

What I have tried:

My main function is simply calling fuse_main() as

return fuse_main(argc, argv, &myStruct, NULL);
Posted
Updated 26-Oct-16 0:41am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900