Is there a way to efficiently imagemount a very large xz-compressed partclone image - preferrably without decompressing the whole xz file?
The closest I could find is using nbd-kit and nbdclient to dynamically serve the uncompressed partclone image via a network block device, but of course imagemount expects the input file to be a standard file and not a block special device so it errors.
# serve uncompressed blocks of backup.pimg.xz
nbdkit --filter=xz file backup.pimg.xz
# make /dev/nbd1 offer the uncompressed blocks of backup.pimg.xz as a nbd device file
nbd-client -b 512 localhost 10809 /dev/nbd1
# fails! -f expects a file and not a block special device
imagemount -d /dev/nbd0 -f /dev/nbd1 f2fs
Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is there a way to efficiently imagemount a very large xz-compressed partclone image - preferrably without decompressing the whole xz file?
The closest I could find is using nbd-kit and nbdclient to dynamically serve the uncompressed partclone image via a network block device, but of course imagemount expects the input file to be a standard file and not a block special device so it errors.
Thanks!
Forgot to log in before posting (and Sourceforge gave no warning) - please delete this duplicate post.
Last edit: Jason Spangler 2019-11-26