[parted-devel] How to read partition table read-only with libparted?
Arvin Schnell
aschnell at suse.com
Thu Feb 2 18:14:10 GMT 2023
On Fri, Jan 13, 2023 at 11:21:35AM +0300, Konstantin Kharlamov wrote:
> So, any suggestions, how one can make `ped_disk_new()` open a device in read-only mode? Is that currently possible or does that require making changes to libparted?
At SUSE we have included a patch for that:
https://build.opensuse.org/package/view_file/openSUSE:Factory/parted/libparted-open-the-device-RO-and-lazily-switch-to-RW.patch
Regards,
Arvin
--
Arvin Schnell, <aschnell at suse.com>
Senior Software Engineer, Research & Development
SUSE Software Solutions Germany GmbH
Frankenstraße 146
90461 Nürnberg
Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Ivo Totev, Andrew Myers, Andrew McDonald,
Boudien Moerman
More information about the parted-devel
mailing list