summaryrefslogtreecommitdiffstats
path: root/fdisk.h
diff options
context:
space:
mode:
authorJose M. Guisado <jguisado@soleta.eu>2023-01-11 15:45:50 +0100
committerJose M. Guisado <jguisado@soleta.eu>2023-01-11 17:11:41 +0100
commit34fd2cbe48d8df7ca0cd6b90330e58b671edd20d (patch)
treeed72f6330a07b7b0ddc7a7f4e6b1de8bca936e79 /fdisk.h
parentdce0b0c1e30a728537abfd25cbe8a55dce22db37 (diff)
add 'string' field getter to parttype
'string' getter wraps fdisk_parttype_get_string to fetch the partition type UUID in case of a GPT label device. This is useful to confirm or check the partition type UUID of any device with a GPT label. >>> import fdisk >>> cxt = fdisk.Context('./disk.bin', readonly=False) >>> pa = cxt.partitions[0] >>> pa.type.string 'C12A7328-F81F-11D2-BA4B-00A0C93EC93B' >>> pa.type.name 'EFI System'
Diffstat (limited to 'fdisk.h')
0 files changed, 0 insertions, 0 deletions