Releases: siderolabs/go-blockdevice
Releases · siderolabs/go-blockdevice
v0.2.3
fix: perform correct PMBR partition calculations My biggest concern is that the end of the partition was incorrectly calculated for disk > 2TiB. Signed-off-by: Andrey Smirnov <[email protected]>
v0.2.2
fix: preserve the PMBR bootable flag when opening GPT partition Otherwise we set the flag when creating the partition table, but it gets reset after `Open()` and `Write()`. Signed-off-by: Andrey Smirnov <[email protected]>
v0.2.1
feat: mark MBR bootable Similar to bec914ffdda42abcfe642bc2cdfc9fcda56a74ee but make it optional instead. Signed-off-by: Artem Chernyshev <[email protected]>
v0.2.0
feat: add an option to open block device with exclusive flock The problem is the interaction of udevd and our code managing partition table: udevd might trigger `BLKRRPART` ioctl concurrently with our code which tries to sync partition table which leads to a mess. With `flock(LOCK_EX)` udevd skips `BLKRRPART` syscall. Signed-off-by: Andrey Smirnov <[email protected]>
v0.1.1
feat: add an option to open block device with exclusive flock The problem is the interaction of udevd and our code managing partition table: udevd might trigger `BLKRRPART` ioctl concurrently with our code which tries to sync partition table which leads to a mess. With `flock(LOCK_EX)` udevd skips `BLKRRPART` syscall. Signed-off-by: Andrey Smirnov <[email protected]> (cherry picked from commit b0375e4267fdc6108bd9ff7a5dc97b80cd924b1d)