diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-02-19 11:23:12 +0100 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-02-19 11:56:25 +0100 |
commit | 92ef3d68aa496e9fe7619077426b8902e4eefe6a (patch) | |
tree | 29ae81eae21c748a337a936f6b3b71aa9659f06f /src/live/ogOperations.py | |
parent | dbda6abd2280f8e7cd7421a8c902d54b89ff02b5 (diff) |
live: call partprobe on the specific disk
otherwise partprobe does its best to find the disk, according to what I see
through strace.
Diffstat (limited to 'src/live/ogOperations.py')
-rw-r--r-- | src/live/ogOperations.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/live/ogOperations.py b/src/live/ogOperations.py index 202a35b..c97975a 100644 --- a/src/live/ogOperations.py +++ b/src/live/ogOperations.py @@ -353,7 +353,7 @@ class OgLiveOperations: cxt.add_partition(pa) cxt.write_disklabel() - subprocess.run('partprobe') + subprocess.run(['partprobe', f'/dev/{diskname}']) for part in partlist: if part["filesystem"] == 'EMPTY': |