summaryrefslogtreecommitdiffstats
path: root/src/utils/probe.py
diff options
context:
space:
mode:
authorJose M. Guisado <jguisado@soleta.eu>2023-08-16 13:49:17 +0200
committerAlejandro Sirgo Rica <asirgo@soleta.eu>2024-03-04 11:33:10 +0100
commitbb3264d8f4ec8e3dd2f5c3ab206393517a70cc19 (patch)
tree43e533c976d5dddd570ba0402c1b4bcbf69bd8fc /src/utils/probe.py
parent14752ce14c376acc38d292d9b43937b6ca04fbd8 (diff)
disk: add get_efi_partition function
Add utility function inside disk.py to find, if any, the first ESP partition of a given disk. The disk is provided as an integer (starting at 1 following OpenGnsys scripts usual values), meaning the (n-1)th disk from the disk array returned from get_disks(). In the future a better mechanism should be put in place to fetch probed disks from a running client. This change is part of the upcoming drop of "IniciarSesion" script in favor of a Python native approach. Specifically regarding UEFI systems.
Diffstat (limited to 'src/utils/probe.py')
0 files changed, 0 insertions, 0 deletions