[parted-devel] How to read partition table read-only with libparted?
Phillip Susi
phill at thesusis.net
Thu Feb 2 17:14:01 GMT 2023
Konstantin Kharlamov <hi-angel at yandex.ru> writes:
> The problem is: to get a partition table you need to call
> `ped_disk_new()` first. Which opens a disk in O_RDWR mode, resulting
> in dozens of excess events, including "remove/add" on older kernels,
> and just a lot of "change" ones with a newer kernel.
I meant to fix that bug but never got around to it.
More information about the parted-devel
mailing list