summaryrefslogtreecommitdiffstats
path: root/src/utils/disk.py
diff options
context:
space:
mode:
authorJose M. Guisado <jguisado@soleta.eu>2023-02-07 11:46:38 +0100
committerJose M. Guisado <jguisado@soleta.eu>2023-02-09 13:26:06 +0100
commit782f46a1991ba6661c6b1e99a7fc4ca850a1e32e (patch)
tree4a919265dbe68453a1b3c8b6747965c78784f1de /src/utils/disk.py
parent7801d483d453dcc47b36429cc763fb5908c7a21b (diff)
live: rewrite setup operationv1.2.5
Rewrites the setup operation using python-libfdisk module instead of an external bash script. Consolidating the operation into Python's code, limiting external subprocesses to well known programs and small concrete tasks that are difficult to fully integrate into Python. Use parttypes.py to fetch partition types from python-libfdisk module. Use fs.py to create any specified supported filesystem. OpenGnsys cache partitions are created labelling the partition as "CACHE". Stops setting non-standard MBR hexcode (0xca) to the cache partition in addition to the filesystem label. Any partition specified as type EMPTY will be ignored.
Diffstat (limited to 'src/utils/disk.py')
0 files changed, 0 insertions, 0 deletions