Interesting I have used kpartx which uses device mapper instead of Partprobe.
Wonder why kpartx exists; will have to look into that. Maybe not everything can be partprobed.
Wonder why kpartx exists; will have to look into that. Maybe not everything can be partprobed.
I might be mis-remebering but I think parted used to be considered lame before fdisk lagged to support GPT.
I don’t like how parted will automatically commit your changes as you go, though this is useful for scripting your changes and is my preferred method for disk geometry modifications when preparing maintenances etc
Right tool for the job and all that.
From what I remember partprobe has had a history of occasional unreliable behaviour under RHEL - but I understand it works properly under RHEL 7.3+
A lot of StackOverflow questions have answers that use kpartx, and those answers are out of date.