On Thu, Dec 12, 2024 at 02:45:48AM +0400, Denys Ostapenko wrote: > Is it possible to expose raw partition from libguestfs (and > guestfish) as a mapper device? Like cryptsetup-open <partition> > <mapper>, but without password and decryption at all.
I'm not sure what you mean by this. Do you mean, expose the encrypted device as a block device on the host? (ie. guestmount) > I found it's surprisingly hard to access VeraCrypt partition inside > VHD file. I'm not sure what VeraCrypt is, but I don't think we have support for it in libguestfs, which is going to be a problem. Unless kernel / cryptsetup knows about it somehow. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top _______________________________________________ Libguestfs mailing list -- guestfs@lists.libguestfs.org To unsubscribe send an email to guestfs-le...@lists.libguestfs.org