diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2022-05-08 18:01:24 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2022-05-08 18:01:24 +0000 |
commit | 16d0658f8bb78e22246af0bd30f83d6f7981734f (patch) | |
tree | 49f1a9671661027b5c5193c600f0b37884017bd1 /usr.bin/nfsstat | |
parent | 5caad49bb892f7c03b4c51b1f00e950cec05fa4d (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 'usr.bin/nfsstat')
0 files changed, 0 insertions, 0 deletions