Menu

imagemount of a very large xz-compressed partclone image

Anonymous
2019-11-26
2019-12-03
  • Anonymous

    Anonymous - 2019-11-26

    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!

     
  • Jason Spangler

    Jason Spangler - 2019-11-26

    Forgot to log in before posting (and Sourceforge gave no warning) - please delete this duplicate post.

     
  • Jason Spangler

    Jason Spangler - 2019-11-26
     

    Last edit: Jason Spangler 2019-11-26

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.