Hacker News new | ask | show | jobs
by khc 773 days ago
does it have to be fuse? cant you mount a disk image with loopback
2 comments

Wouldn't a disk image have a fixed size? It could be a pain to resize.
qcow2 is auto-expanding
But not trivially loop-mountable. I guess it's possible, though. https://unix.stackexchange.com/questions/268460/how-to-mount...
But will the disk image be fully stored in memory? No.. not with loopback. Either that, or it won't be mutable in memory with commit on unmount.
Put the disk image inside a ramdisk and it's in memory. Write a script for saving to physical disk when dismounting, and you're done.