Open GamePlayer-8 opened 1 week ago
Hi! Interesting idea, in fact something like this was one of ideas I had before I settled on using FUSE. I am pretty sure this would be possible to do, but it would require rewriting most of the program which is not something I currently want to do.
However, more resembling the current implementation, it would be possible to only download and cache the 100MiB block(s) that are currently in use of each file. That way, one could create such an .img
file themselves inside the FUSE filesystem (filesystemception?), without the entire file being downloaded and cached locally.
In fact, now when I come to think about it, this is probably something I should investigate further. Tracking the position within the file should not be too hard. Opening a large file (such as the .img
file) would be much faster, at the expense of at times far increased access times within already-opened files. Those increased access times worry me though, I'll have to do some measurements.
As the title says, what do you think about implementing the FS as a single
*.img
file on top of which everybody can setupext4
/lvm2
cryptsetup
etc..