[Libguestfs] Using nested partition with LUKS+GPT

2023-04-29 Thread Philippe Midol-Monnet
run partpobe when a new device appeared in /dev/mapper * adding a new API in libguestfs |guestfs_partprobe(device)| that can be call by the user when needed. What is the best best solution from your point of view? We can help implementing it. Regards Philippe Midol-Monnet -- *This email

Re: [Libguestfs] [PATCH] Add partprobe call in the API

2023-07-13 Thread Philippe Midol-Monnet
: On Tue, Jun 20, 2023 at 02:09:36PM +0200, Philippe Midol-Monnet wrote: Hello We are using libguestfs with nested partitions: One partition encrypted with LUKS include a GPT and several partition. In order to make the nested partition available to the system after the cryptsetup-open, partprobe

[Libguestfs] [PATCH] Add partprobe call in the API

2023-06-20 Thread Philippe Midol-Monnet
Hello We are using libguestfs with nested partitions: One partition encrypted with LUKS include a GPT and several partition. In order to make the nested partition available to the system after the cryptsetup-open, partprobe need to be run. I guess it is true for all kind of nested partitions

Re: [Libguestfs] [PATCH] Add partprobe call in the API

2023-06-20 Thread Philippe Midol-Monnet
Hello Sorry for the missing file and for the email warning. I will check with my company for the warning and send you a new version. Regards Philippe On 20/06/2023 14:30, Richard W.M. Jones wrote: On Tue, Jun 20, 2023 at 02:09:36PM +0200, Philippe Midol-Monnet wrote: Hello We are using