https://bugs.kde.org/show_bug.cgi?id=394639

            Bug ID: 394639
           Summary: No option to view or set partition type (GU)ID
           Product: partitionmanager
           Version: 3.3
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: andr...@stikonas.eu
          Reporter: matthewtresc...@gmail.com
  Target Milestone: ---

When creating or editing a partition's properties, KDE Partition Manager does
not display MBR partition type IDs or GPT partition type GUIDs. I assume that
this probably gets determined for new partitions based on the various settings
(filesystem, "flags", etc.) but the flags don't represent a realistic picture
of the partition table. IMO,
- the flags section should disappear and be replaced with
a drop-down list that allows the user to choose the partition type
(https://en.wikipedia.org/wiki/Partition_type). Note that this applies to both
MBR and GPT; the only difference is that GPT uses long GUID codes and MBR uses
single-byte codes. This would be _in addition_ to the Filesystem drop-down.
- There should be a _separate_ checkbox that toggles the "bootable partition"
bit on GPT (search "Legacy BIOS bootable" on the Wikipedia GPT page for more
info) and the equivalent bit on MBR.

Reasoning:
- Checkboxes (as shown in the flags option) do not make sense when they are
mutually exclusive (because a partition can only be one partition type).
- The flags-based design makes it unclear what "boot" does, since it behaves
differently on GPT and MBR: on GPT, it does the same as "esp", which changes
the partition type GUID in the partition table to
C12A7328-F81F-11D2-BA4B-00A0C93EC93B. On MBR, I assume that it flips bit 7 in
byte offset 0 of the partition entry. But it's unclear whether it does the
equivalent operation on GPT, which, like MBR has a separate "bootable" bit in
addition to partition type GUID.
- The "flags" imply that partition tables have such a structure as "flags,"
which is not the case, at least for GPT and MBR.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to