Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
khc
· 2y ago · 0 comments
does it have to be fuse? cant you mount a disk image with loopback
Comments
[–]
andrewflnr
2y ago
Wouldn't a disk image have a fixed size? It could be a pain to resize.
[–]
ranger_danger
2y ago
qcow2 is auto-expanding
[–]
andrewflnr
2y ago
But not trivially loop-mountable. I guess it's possible, though.
https://unix.stackexchange.com/questions/268460/how-to-mount...
[–]
metadat
2y ago
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.
[–]
generalizations
2y ago
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.