summaryrefslogtreecommitdiffstats
path: root/fdisk.h
diff options
context:
space:
mode:
authorJose M. Guisado <jguisado@soleta.eu>2023-01-11 16:57:40 +0100
committerJose M. Guisado <jguisado@soleta.eu>2023-01-11 17:11:51 +0100
commite4b2964ee0cbacfc12717c06f4bb979ba596493f (patch)
treece9c8e9afdedf4dbf03af3f8063dc25f25a8f9ed /fdisk.h
parent34fd2cbe48d8df7ca0cd6b90330e58b671edd20d (diff)
label: check parttypes identity type
parttypes can be either: - A code for MBR/DOS - An UUID for GPT User needs a label instance before using a parttype getter. If checking for a parttype using a code, check if the current label support that kind of parttype identification before retrieving it. Same applies for UUID based parttypes. If wrong identity type is used, raise an exception. Errors regarding parttype are more informative this way.
Diffstat (limited to 'fdisk.h')
0 files changed, 0 insertions, 0 deletions