diff options
author | Mike Fleetwood <mike.fleetwood@googlemail.com> | 2022-12-13 12:53:07 +0000 |
---|---|---|
committer | Brian C. Lane <bcl@redhat.com> | 2022-12-13 13:00:12 -0800 |
commit | 55e4775c989af42d629401b9aa22c60ba2993e7d (patch) | |
tree | bc1fc17ef9690c550a547d9fc2e69b903cafea64 /scripts | |
parent | daceb2d6a76a66254168effcc2cd0d5f4fadf946 (diff) | |
download | parted-55e4775c989af42d629401b9aa22c60ba2993e7d.tar.gz |
gpt: Add no_automount partition flag
Add user requested support for GPT partition type attribute bit 63 [1]
so the no-auto flag in the systemd originated Discoverable Partitions
Specification [2] can be manipulated. The UEFI specification [3] says
partition attribute bits 48 to 63 are partition type specific, however
the DPS [2] and Microsoft [4] use the bit 63 to mean no automounting /
assign no drive letter and apply it to multiple partition types so don't
restrict its application.
[1] Request for GPT partition attribute bit 63 "no automount" editing
support
https://gitlab.gnome.org/GNOME/gparted/-/issues/214
[2] The Discoverable Partitions Specification (DPS),
Partition Attribute Flags
https://uapi-group.org/specifications/specs/discoverable_partitions_specification/
[3] UEFI Specification, version 2.8,
Table 24. Defined GPT Partition Entry - Attributes
https://uefi.org/sites/default/files/resources/UEFI_Spec_2_8_final.pdf
[4] CREATE_PARTITION_PARAMETERS structure (vds.h)
https://learn.microsoft.com/en-gb/windows/win32/api/vds/ns-vds-create_partition_parameters
Signed-off-by: Mike Fleetwood <mike.fleetwood@googlemail.com>
Signed-off-by: Brian C. Lane <bcl@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions