summaryrefslogtreecommitdiffstats
path: root/tests/units/test_0007_software.py
diff options
context:
space:
mode:
authorJose M. Guisado <jguisado@soleta.eu>2023-02-07 09:21:58 +0100
committerJose M. Guisado <jguisado@soleta.eu>2023-02-08 17:11:44 +0100
commit29c53e54e9459cd652c908e2e13b616778e6e4f1 (patch)
treed0f77ad282abc1a1fd540235bd503e1cfe17d4c8 /tests/units/test_0007_software.py
parentc010c42008cbc42346f5b7e664cc5811e953e5a5 (diff)
live: add parttypes.py
Adds parttypes.py module with utility functions to get partition types (parttypes) from python-libfdisk. Supports standard partition types, either DOS or GPT. DOS labels use a hex code to define partition types, python-libfdisk exposes get_parttype_from_code to look up for DOS partition types from a given hexcode. GPT label uses a string (UUID) for each supported partition type, python-libfdisk exposes get_parttype_from_string to look up for GPT partition types from a given string.
Diffstat (limited to 'tests/units/test_0007_software.py')
0 files changed, 0 insertions, 0 deletions