[parted-devel] [PATCH] gpt: Add no-automount partition flag

Brian C. Lane bcl at redhat.com
Mon Dec 12 18:47:25 GMT 2022


On Sun, Dec 11, 2022 at 10:29:21AM +0000, Mike Fleetwood wrote:
> 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.

Thanks for adding this. It needs tests, and while I feel a bit silly for
asking, I think it needs to be no_automount with an underscore. I
should caught linux-home when it was added, but missed it. All the other
flags use underscores so let's stick with that.

Brian

-- 
Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart




More information about the parted-devel mailing list