diff options
author | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-04-17 10:49:52 +0200 |
---|---|---|
committer | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-07-29 15:07:22 +0200 |
commit | 4f31bde5499d962332a31817a2e1fd31fd00fe5d (patch) | |
tree | 681e324d4bc1df23377cd87322783e8afe5ee111 /tests/units/test_0001_probe.py | |
parent | 41b5f830c6d74dca69cfea1c259f7e21d4ad9bb9 (diff) |
utils: add functions to obtain disk and partition UUIDs
Add get_partition_id and get_disk_id to obtain the UUID of a disk
or partition as a string. These values are obtained invoking the
program blkid as a subprocess.
This commit is preparatory work for the new native postinstall code.
Diffstat (limited to 'tests/units/test_0001_probe.py')
0 files changed, 0 insertions, 0 deletions