[parted-devel] Support setting more flags (those from the Discoverable Partitions Specification)
Arvin Schnell
arvin.schnell at suse.de
Fri Jul 26 09:44:39 BST 2024
On Thu, Jul 25, 2024 at 02:34:55AM +0200, Nils Kattenbeck wrote:
> Due to several reasons the Discoverable Partitions Specification (DSP)
> is getting more popular.
> The DSP also defines several partition flags
> (https://uapi-group.org/specifications/specs/discoverable_partitions_specification/#partition-attribute-flags)
> that can be set and influence the handling of partitions. To my
> knowledge there is currently no tool apart from systemd-repart which
> can write these and none that can really inspect these. It would be
> great if parted will add support for them such that one can easily
> check which flags are set and toggle those flags.
Of those three flags parted can only set the no-auto flag, e.g.:
parted /dev/sdx set 1 no_automount on
The flag is also shown in the output. This is new in parted 3.6.
fdisk can handle the bits 48-63. You have to enter the "extra
functionality" using 'x'.
ciao
Arvin
More information about the parted-devel
mailing list