I want to experiment with some virtual file systems, for example, with 1 file that stores all the data (1 file = virtual disk). For example, I can open a virtual disk and put files in it, write data to files, read data from a file, open files and use fseek, etc.
Is there any library I can use for this? Licensed material, etc. Not important. I just want to test it on my machine because I'm corrupted, so I want to try this in C ++ / C.
Thanks in advance!:)
If the library is just windows, then that too is normal, maybe I will find the linux library so that I can do 2 projects?
Edit: Thanks to BRPocock, I know that my question is a bit unclear. What I really want is a library that has the ability to store files, read files and perform file operations in VFS, which the library already provides. And, of course, installation. So, I would prefer if there is a library that gives me these functions in C ++:
OpenVirtualDrive(const name[]);
CloseVirtualDrive(handle);
fopen(const name[], mode);
fclose(handle);
ftemp();
fremove(const name[]);
fwrite(handle, array[]);
fread(handle, array[], size = sizeof array, pack = false);
fputchar(handle, value, utf8 = true);
fgetchar(handle, value, utf8 = true);
fblockwrite(handle, const buffer[], size = sizeof buffer);
fblockread(handle, buffer[], size = sizeof buffer);
fseek(handle, position = 0, seek_whence: whence = seek_start);
flength(handle);
fexist(const pattern[]);
fmatch(name[], const pattern[], index = 0, size = sizeof name);
This is just pseudo code: P