diff options
author | Brian C. Lane <bcl@redhat.com> | 2022-08-08 15:02:30 -0700 |
---|---|---|
committer | Brian C. Lane <bcl@redhat.com> | 2022-08-15 11:35:51 -0700 |
commit | 4a0e468ed63fff85a1f9b923189f20945b32f4f1 (patch) | |
tree | 708d85cdd71ae1ca683db17ebfd85bd7bd9b7ee0 /libparted/labels/vtoc.c | |
parent | d50b7bf2b66b7b67ee332c1af63bc1f5fdfba7ad (diff) | |
download | parted-4a0e468ed63fff85a1f9b923189f20945b32f4f1.tar.gz |
libparted: Fix handling of msdos partition types
This restores the previous behavior by testing the partition type
against the list of known types and skipping the filesystem type reset.
Now the sequence of:
ped_partition_new(...)
ped_partition_set_flag(part, PED_PARTITION_BLS_BOOT, 1);
ped_partition_set_system(part, ped_file_system_type_get("ext4"));
Will keep the type set to PED_PARTITION_BLS_BOOT, which is how it used
to behave.
Diffstat (limited to 'libparted/labels/vtoc.c')
0 files changed, 0 insertions, 0 deletions