** Description changed: - We want Subiquity to be able to access the name of existing GPT - partitions - and be able to pass it to the storage API. There is no - immediate need to support changing/setting the partition name. + Request + ------- + We want Subiquity to be able to access the name of existing GPT partitions - and provide that info to the desktop installer through the storage API. The desktop installer can then show the info in the manual partitioning screen. + + There is no immediate need to support changing/setting the partition + name, so this will be a read-only option at least for plucky. + + Why Needed + ---------- + To help users of the manual partitioning screen figure out which partition belongs to which OS (and therefore avoid some occurrences of people formatting the wrong partition), we already lean on OS detection using os-prober. Unfortunately OS detection is limited. It doesn't work if the disk is encrypted (e.g., Bitlocker) and only one partition is labeled per OS detected. + + If a GPT partition has a name set, showing the info on the screen would + lower the risk of people selecting the wrong partition to be formatted. + + What Changed + ------------ + * Curtin now reads and decodes the ID_PART_ENTRY_NAME (which corresponds to the partition name - and encoded by libblkid) if it is present. + * The resulting value (if any), is passed to Subiquity + * Subiquity's /storage/v2 endpoint now specifies a "name" property for each partition returned. The property is set to the partition name, or null if unset. + * If the user attempts to change the partition name using the /storage/v2/edit_partition endpoint, an exception will be raised. + + Code to be merged + ----------------- + * https://code.launchpad.net/~ogayot/curtin/+git/curtin/+merge/481790 + * https://github.com/canonical/subiquity/pull/2169
** Summary changed: - Support reading the GPT partition name in Subiquity + [FFE] Support reading the GPT partition name in Subiquity -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2099893 Title: [FFE] Support reading the GPT partition name in Subiquity To manage notifications about this bug go to: https://bugs.launchpad.net/curtin/+bug/2099893/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs