Skip to content

Releases: siderolabs/go-blockdevice

v0.2.3

06 Aug 20:50
Compare
Choose a tag to compare
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

05 Aug 14:18
Compare
Choose a tag to compare
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

07 Jun 11:26
Compare
Choose a tag to compare
feat: mark MBR bootable

Similar to bec914ffdda42abcfe642bc2cdfc9fcda56a74ee but make it optional
instead.

Signed-off-by: Artem Chernyshev <[email protected]>

v0.2.0

27 Jan 16:53
Compare
Choose a tag to compare
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

27 Jan 17:19
Compare
Choose a tag to compare
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)

v0.1.0

02 Oct 20:38
Compare
Choose a tag to compare

Initial release