Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | live: add linux swap parttype | Jose M. Guisado | 2023-03-23 | 1 | -10/+12 |
| | | | | | | | Adds linux swap partition type, mapped to the 'LINUX-SWAP' string in web interfaces like ogCP or webconsole. Fixes: 29c53e54e945 ("live: add parttypes.py") | ||||
* | live: add parttypes.py | Jose M. Guisado | 2023-02-08 | 1 | -0/+55 |
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. |