GNOME Bugzilla – Bug 787828
Do not create fourth primary partition as extended partition
Last modified: 2018-05-24 10:41:59 UTC
The forth (and last) primary partition is now (since when, maybe in UDisks?) automatically an extended partition. Either change UI or support to have a forth normal primary partition.
Could reproduce with gdbus, so has to be tracked here: https://github.com/storaged-project/udisks/issues/446
Created attachment 363599 [details] [review] Set partition type for MBR partitions No partition type was passed and UDisks changed default behavior to create a logical partition in an extended partition if there are already three primary partitions. Thus Disks needs to pass the partition type argument and not only the MBR type marker.
Review of attachment 363599 [details] [review]: Looks ok and works nicely, thanks! Probably worth to push it in the stable as well. Just a note that the partition-type option and the type argument seems a bit redundant in the udisks API to me, but that's not our deal.
Comment on attachment 363599 [details] [review] Set partition type for MBR partitions Thanks for looking on it. The hexadecimal partition type is used as marker for MBR partitions and can be changed through "Edit partition…". In theory it is not strictly linked to being a primary, extended or logical partition, but there is one marker reserved for extended partitions and this used to be enough for UDisks to decide what to do. Yes, for an update to the stable release it is needed to rewrite the patch (other source file, this here works only on the new format dialog), thus I'll leave this bug open.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-disk-utility/issues/69.