Releases: siderolabs/go-blockdevice
Releases · siderolabs/go-blockdevice
v0.3.3
go-blockdevice 0.3.3 (2022-06-27)
Welcome to the v0.3.3 release of go-blockdevice!
Please try out the release binaries and report any issues at
https://github.com/talos-systems/go-blockdevice/issues.
Contributors
- Andrey Smirnov
- Artem Chernyshev
- Andrey Smirnov
- Artem Chernyshev
- Serge Logvinov
- Andrew Rynhard
- Andrew Rynhard
- Matt Zahorik
- Olli Janatuinen
Changes
51 commits
fccee8b
chore: rekres the source, fix issuesd9c3a27
feat: support probing FAT12/FAT16 filesystemsb374eb4
fix: align partition to 1M boundary by defaultec428fe
fix: lookup filesystem labels on the actual device path7b9de26
feat: read symlink fullpath in block device list function6928ee4
refactor: rewrite GPT serialize/deserialize functions0c7e429
refactor: simplify middle endian functions15b182d
fix: return partition table not exist when trying to read an empty devb9517d5
fix: resize partition70d2865
fix: try to find cdrom disks667bf53
fix: revert gpt partition not foundd7d4cdd
fix: gpt partition not found33afba3
fix: also open in readonly mode when runningAll
lookup methode367f9d
feat: make probe always open blockdevices in readonly moded981156
fix: allow Build for Windowsfe24303
fix: perform correct PMBR partition calculations2ec0c3c
fix: preserve the PMBR bootable flag when opening GPT partition87816a8
feat: align partition to minimum I/O sizec34b59f
feat: expose more encryption options in the LUKS module30c2bc3
feat: mark MBR bootable1292574
fix: make disk type matcher parser case insensitiveb77400e
fix: properly detect nvme and sd card disk types1d830a2
fix: revert mark the EFI partition in PMBR as bootablebec914f
fix: mark the EFI partition in PMBR as bootable776b37d
feat: add options to probe disk by various sysblock parametersbb3ad73
fix: align partition start to physical sector size8f976c2
feat: replace exec.Command with go-cmd module1cf7f25
fix: properly handle no child processes error from cmd.Wait04a9851
feat: implement luks encryption providerb0375e4
feat: add an option to open block device with exclusive flock5a1c7f7
refactor: add devname into gpt.Partition, refactor probe packagef2728a5
fix: keep contents of PMBR when writing it2878460
fix: write second copy of partition entries943b08b
fix: blockdevice reset should read partition table from disk5b4ee44
fix: ignore/dev/ram
devices98754ec
refactor: rewrite GPT library2a1baad
fix: correctly build paths formmcblk
devices8076344
fix: return proper disk size from GetDisks function8742133
chore: add common method to list available disks using /sys/blockc4b5833
feat: implement "fast" wipeb4e67d7
feat: return resize status from Resize() functionceae64e
fix: sync kernel partition table incrementally2cb9516
fix: return correct error value from blkpg functionscebe43d
refactor: exposeInsertAt
method via interfacec40dcd8
fix: properly inform kernel about partition deletionbb8ac5d
feat: implement disk wiping via several methods23fb7dc
feat: expose partition name (label)ff3a821
feat: implement 'InsertAt' method to insert partitions at any position3d1ce4f
fix: calculate last lba of partition correctlyb71540f
feat: copy initial version from talos-systems/talosca3c078
Initial commit
Changes since v0.3.2
0 commit
Dependency Changes
This release has no dependency changes
v0.3.2
go-blockdevice 0.3.2 (2022-05-27)
Welcome to the v0.3.2 release of go-blockdevice!
Please try out the release binaries and report any issues at
https://github.com/talos-systems/go-blockdevice/issues.
Contributors
- Andrey Smirnov
- Artem Chernyshev
- Andrey Smirnov
- Artem Chernyshev
- Serge Logvinov
- Andrew Rynhard
- Andrew Rynhard
- Matt Zahorik
- Olli Janatuinen
Changes
51 commits
fccee8b
chore: rekres the source, fix issuesd9c3a27
feat: support probing FAT12/FAT16 filesystemsb374eb4
fix: align partition to 1M boundary by defaultec428fe
fix: lookup filesystem labels on the actual device path7b9de26
feat: read symlink fullpath in block device list function6928ee4
refactor: rewrite GPT serialize/deserialize functions0c7e429
refactor: simplify middle endian functions15b182d
fix: return partition table not exist when trying to read an empty devb9517d5
fix: resize partition70d2865
fix: try to find cdrom disks667bf53
fix: revert gpt partition not foundd7d4cdd
fix: gpt partition not found33afba3
fix: also open in readonly mode when runningAll
lookup methode367f9d
feat: make probe always open blockdevices in readonly moded981156
fix: allow Build for Windowsfe24303
fix: perform correct PMBR partition calculations2ec0c3c
fix: preserve the PMBR bootable flag when opening GPT partition87816a8
feat: align partition to minimum I/O sizec34b59f
feat: expose more encryption options in the LUKS module30c2bc3
feat: mark MBR bootable1292574
fix: make disk type matcher parser case insensitiveb77400e
fix: properly detect nvme and sd card disk types1d830a2
fix: revert mark the EFI partition in PMBR as bootablebec914f
fix: mark the EFI partition in PMBR as bootable776b37d
feat: add options to probe disk by various sysblock parametersbb3ad73
fix: align partition start to physical sector size8f976c2
feat: replace exec.Command with go-cmd module1cf7f25
fix: properly handle no child processes error from cmd.Wait04a9851
feat: implement luks encryption providerb0375e4
feat: add an option to open block device with exclusive flock5a1c7f7
refactor: add devname into gpt.Partition, refactor probe packagef2728a5
fix: keep contents of PMBR when writing it2878460
fix: write second copy of partition entries943b08b
fix: blockdevice reset should read partition table from disk5b4ee44
fix: ignore/dev/ram
devices98754ec
refactor: rewrite GPT library2a1baad
fix: correctly build paths formmcblk
devices8076344
fix: return proper disk size from GetDisks function8742133
chore: add common method to list available disks using /sys/blockc4b5833
feat: implement "fast" wipeb4e67d7
feat: return resize status from Resize() functionceae64e
fix: sync kernel partition table incrementally2cb9516
fix: return correct error value from blkpg functionscebe43d
refactor: exposeInsertAt
method via interfacec40dcd8
fix: properly inform kernel about partition deletionbb8ac5d
feat: implement disk wiping via several methods23fb7dc
feat: expose partition name (label)ff3a821
feat: implement 'InsertAt' method to insert partitions at any position3d1ce4f
fix: calculate last lba of partition correctlyb71540f
feat: copy initial version from talos-systems/talosca3c078
Initial commit
Changes since v0.3.1
3 commits
Dependency Changes
This release has no dependency changes
v0.3.1
v0.3.0
v0.2.5
go-blockdevice 0.2.5 (2021-12-06)
Welcome to the v0.2.5 release of go-blockdevice!
Please try out the release binaries and report any issues at
https://github.com/talos-systems/go-blockdevice/issues.
Contributors
- Andrey Smirnov
- Artem Chernyshev
- Artem Chernyshev
- Serge Logvinov
- Andrew Rynhard
- Andrew Rynhard
- Andrey Smirnov
- Matt Zahorik
- Olli Janatuinen
Changes
44 commits
15b182d
fix: return partition table not exist when trying to read an empty devb9517d5
fix: resize partition70d2865
fix: try to find cdrom disks667bf53
fix: revert gpt partition not foundd7d4cdd
fix: gpt partition not found33afba3
fix: also open in readonly mode when runningAll
lookup methode367f9d
feat: make probe always open blockdevices in readonly moded981156
fix: allow Build for Windowsfe24303
fix: perform correct PMBR partition calculations2ec0c3c
fix: preserve the PMBR bootable flag when opening GPT partition87816a8
feat: align partition to minimum I/O sizec34b59f
feat: expose more encryption options in the LUKS module30c2bc3
feat: mark MBR bootable1292574
fix: make disk type matcher parser case insensitiveb77400e
fix: properly detect nvme and sd card disk types1d830a2
fix: revert mark the EFI partition in PMBR as bootablebec914f
fix: mark the EFI partition in PMBR as bootable776b37d
feat: add options to probe disk by various sysblock parametersbb3ad73
fix: align partition start to physical sector size8f976c2
feat: replace exec.Command with go-cmd module1cf7f25
fix: properly handle no child processes error from cmd.Wait04a9851
feat: implement luks encryption providerb0375e4
feat: add an option to open block device with exclusive flock5a1c7f7
refactor: add devname into gpt.Partition, refactor probe packagef2728a5
fix: keep contents of PMBR when writing it2878460
fix: write second copy of partition entries943b08b
fix: blockdevice reset should read partition table from disk5b4ee44
fix: ignore/dev/ram
devices98754ec
refactor: rewrite GPT library2a1baad
fix: correctly build paths formmcblk
devices8076344
fix: return proper disk size from GetDisks function8742133
chore: add common method to list available disks using /sys/blockc4b5833
feat: implement "fast" wipeb4e67d7
feat: return resize status from Resize() functionceae64e
fix: sync kernel partition table incrementally2cb9516
fix: return correct error value from blkpg functionscebe43d
refactor: exposeInsertAt
method via interfacec40dcd8
fix: properly inform kernel about partition deletionbb8ac5d
feat: implement disk wiping via several methods23fb7dc
feat: expose partition name (label)ff3a821
feat: implement 'InsertAt' method to insert partitions at any position3d1ce4f
fix: calculate last lba of partition correctlyb71540f
feat: copy initial version from talos-systems/talosca3c078
Initial commit
Changes since v0.2.4
2 commits
Dependency Changes
This release has no dependency changes
v0.2.4
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]>