summaryrefslogtreecommitdiff
path: root/etc/skel
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2022-05-08 18:01:24 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2022-05-08 18:01:24 +0000
commit16d0658f8bb78e22246af0bd30f83d6f7981734f (patch)
tree49f1a9671661027b5c5193c600f0b37884017bd1 /etc/skel
parent5caad49bb892f7c03b4c51b1f00e950cec05fa4d (diff)
Rename gt_protected field of struct gpt_type to gt_attr and
#define GTATTR_PROTECT and GTATTR_PROTECT_EFISYS as bits in it. Use GTATTR_PROTECT to replace the magic value of '1' indicating the partition is protected. Use GTATTR_PROTECT_EFISYS to replace hack of checking for "APFS" string in the names of partitions that want the EFI System (a.k.a. 0xEF) partition to be preserved. More flexible and easier to extend protections to new partition types or add new attributes to partition types. No intentional functional change.
Diffstat (limited to 'etc/skel')
0 files changed, 0 insertions, 0 deletions