diff options
author | Jose M. Guisado <jguisado@soleta.eu> | 2023-02-07 09:21:58 +0100 |
---|---|---|
committer | Jose M. Guisado <jguisado@soleta.eu> | 2023-02-08 17:11:44 +0100 |
commit | 29c53e54e9459cd652c908e2e13b616778e6e4f1 (patch) | |
tree | d0f77ad282abc1a1fd540235bd503e1cfe17d4c8 /src/restRequest.py | |
parent | c010c42008cbc42346f5b7e664cc5811e953e5a5 (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 'src/restRequest.py')
0 files changed, 0 insertions, 0 deletions