mirror of
https://github.com/siderolabs/talos.git
synced 2025-08-21 22:51:13 +02:00
This moves to using BLKPG ioctl instead of BLKRRPART. BLKRRPART is older and more sensitive to EBUSY errors. BLKPG has the potential to minimize the changes of encountering an EBUSY error when manipulating partition tables. In looking at a comparison between BLKPG and BLKRRPART, it seems that both have their pros and cons. Eventually a combination of the two may serve us better, but for now I think BLKPG will get us further. Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>