diff options
author | Christian Breunig <christian@breunig.cc> | 2024-01-07 12:43:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-07 12:43:20 +0100 |
commit | 3ee63a4f4cbc17da1e0e8bce5ea36af0c4a0928b (patch) | |
tree | eac31fae3bf90ebd48d46f7186827676c9667855 /python/vyos | |
parent | dff740f3cfb57757146d465d994499c552876359 (diff) | |
parent | f883455d9a3081780c43426ab26de9d26f24c9aa (diff) | |
download | vyos-1x-3ee63a4f4cbc17da1e0e8bce5ea36af0c4a0928b.tar.gz vyos-1x-3ee63a4f4cbc17da1e0e8bce5ea36af0c4a0928b.zip |
Merge pull request #2760 from bluknight/current
image: T5898: fix kernel-level partition rescan
Diffstat (limited to 'python/vyos')
-rw-r--r-- | python/vyos/system/disk.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/system/disk.py b/python/vyos/system/disk.py index b8a2c0f35..7860d719f 100644 --- a/python/vyos/system/disk.py +++ b/python/vyos/system/disk.py @@ -78,7 +78,7 @@ def parttable_create(drive_path: str, root_size: int) -> None: run(command) # update partitons in kernel sync() - run(f'partprobe {drive_path}') + run(f'partx -u {drive_path}') partitions: list[str] = partition_list(drive_path) |