Skip to content

Releases: siderolabs/go-blockdevice

v2.0.0

30 Aug 11:18
v2.0.0
2021ab8
Compare
Choose a tag to compare

go-blockdevice 2.0.0 (2024-08-30)

Welcome to the v2.0.0 release of go-blockdevice!

Please try out the release binaries and report any issues at
https://github.com/siderolabs/go-blockdevice/issues.

Contributors

  • Andrey Smirnov
  • Dmitry Sharshakov
  • Dmitriy Matrenichev

Changes

21 commits

  • 2021ab8 release(v2.0.0): prepare release
  • 08a7802 fix: add support for 'legacy bios bootable' attribute
  • fa9291f feat: bring disk encryption support
  • bc73f6d fix: drop ReadFullAt
  • c34dfb6 fix: don't ignore error on partition delete
  • 41240c1 fix: several fixes for GPT and ZFS
  • 07f736f feat: add support for retry-locking the blockdevice
  • 114af20 feat: add device wipe and partition devname
  • cfdeb03 feat: implement GPT editing
  • 9d8d8e7 chore: add setters for struct fields
  • f4a4030 fix: add runtime.KeepAlive to keep alive descriptors
  • 1a51f16 feat: gather blockdevice information
  • 81b69bf fix: use read full when reading data
  • 3052077 feat: lock the blockdevice in shared mode when probing
  • cf51e33 feat: support detection of squashfs and Talos META
  • da92100 feat: detect ZFS
  • 3265299 feat: detect Linux swap and LVM2
  • 21c66f8 fix: don't probe empty CD drives
  • a5481f5 feat: implement GPT partition discovery
  • 9beb2bd feat: start the blkid work
  • aa55391 chore: start the v2 version of the module

Dependency Changes

This release has no dependency changes

v0.4.7

23 Nov 13:51
v0.4.7
d9313ea
Compare
Choose a tag to compare

go-blockdevice 0.4.7 (2023-11-23)

Welcome to the v0.4.7 release of go-blockdevice!

Please try out the release binaries and report any issues at
https://github.com/siderolabs/go-blockdevice/issues.

Contributors

  • Andrey Smirnov
  • Artem Chernyshev
  • Andrey Smirnov
  • Artem Chernyshev
  • Serge Logvinov
  • Noel Georgi
  • Andrew Rynhard
  • Andrew Rynhard
  • Matt Zahorik
  • Olli Janatuinen
  • Seán C McCord
  • Spencer Smith

Changes

66 commits

  • d9313ea fix: define softraid partition
  • a75c4cc chore: rekres
  • 8a2102a feat: luks resize
  • fbb01f7 fix: properly detect token not found error
  • 3e08968 fix: do not attach token to a key slot
  • f2c419e feat: support LUKS token management
  • 076874a chore: resolve blockdevice symlinks
  • b4386f3 feat: make disk utils read subsystem information from the /sys/block
  • 8c7ea19 fix: blockdevice size is reported by Linux in 512 blocks always
  • e52e012 feat: add ext4 filesystem detection logic
  • 694ac62 chore: update imports to siderolabs, rekres
  • dcf6044 chore: rekres and rename
  • 9c4af49 fix: cryptsetup remove slot
  • 74ea471 feat: add freebsd stubs
  • 9fa801c feat: add ReadOnly attribute to Disk
  • fccee8b chore: rekres the source, fix issues
  • d9c3a27 feat: support probing FAT12/FAT16 filesystems
  • b374eb4 fix: align partition to 1M boundary by default
  • ec428fe fix: lookup filesystem labels on the actual device path
  • 7b9de26 feat: read symlink fullpath in block device list function
  • 6928ee4 refactor: rewrite GPT serialize/deserialize functions
  • 0c7e429 refactor: simplify middle endian functions
  • 15b182d fix: return partition table not exist when trying to read an empty dev
  • b9517d5 fix: resize partition
  • 70d2865 fix: try to find cdrom disks
  • 667bf53 fix: revert gpt partition not found
  • d7d4cdd fix: gpt partition not found
  • 33afba3 fix: also open in readonly mode when running All lookup method
  • e367f9d feat: make probe always open blockdevices in readonly mode
  • d981156 fix: allow Build for Windows
  • fe24303 fix: perform correct PMBR partition calculations
  • 2ec0c3c fix: preserve the PMBR bootable flag when opening GPT partition
  • 87816a8 feat: align partition to minimum I/O size
  • c34b59f feat: expose more encryption options in the LUKS module
  • 30c2bc3 feat: mark MBR bootable
  • 1292574 fix: make disk type matcher parser case insensitive
  • b77400e fix: properly detect nvme and sd card disk types
  • 1d830a2 fix: revert mark the EFI partition in PMBR as bootable
  • bec914f fix: mark the EFI partition in PMBR as bootable
  • 776b37d feat: add options to probe disk by various sysblock parameters
  • bb3ad73 fix: align partition start to physical sector size
  • 8f976c2 feat: replace exec.Command with go-cmd module
  • 1cf7f25 fix: properly handle no child processes error from cmd.Wait
  • 04a9851 feat: implement luks encryption provider
  • b0375e4 feat: add an option to open block device with exclusive flock
  • 5a1c7f7 refactor: add devname into gpt.Partition, refactor probe package
  • f2728a5 fix: keep contents of PMBR when writing it
  • 2878460 fix: write second copy of partition entries
  • 943b08b fix: blockdevice reset should read partition table from disk
  • 5b4ee44 fix: ignore /dev/ram devices
  • 98754ec refactor: rewrite GPT library
  • 2a1baad fix: correctly build paths for mmcblk devices
  • 8076344 fix: return proper disk size from GetDisks function
  • 8742133 chore: add common method to list available disks using /sys/block
  • c4b5833 feat: implement "fast" wipe
  • b4e67d7 feat: return resize status from Resize() function
  • ceae64e fix: sync kernel partition table incrementally
  • 2cb9516 fix: return correct error value from blkpg functions
  • cebe43d refactor: expose InsertAt method via interface
  • c40dcd8 fix: properly inform kernel about partition deletion
  • bb8ac5d feat: implement disk wiping via several methods
  • [`23f...
Read more

v0.4.6

06 Jul 14:41
v0.4.6
fbb01f7
Compare
Choose a tag to compare

go-blockdevice 0.4.6 (2023-07-06)

Welcome to the v0.4.6 release of go-blockdevice!

Please try out the release binaries and report any issues at
https://github.com/siderolabs/go-blockdevice/issues.

Contributors

  • Andrey Smirnov
  • Artem Chernyshev
  • Andrey Smirnov
  • Artem Chernyshev
  • Noel Georgi
  • Serge Logvinov
  • Andrew Rynhard
  • Andrew Rynhard
  • Matt Zahorik
  • Olli Janatuinen
  • Seán C McCord
  • Spencer Smith

Changes

63 commits

  • fbb01f7 fix: properly detect token not found error
  • 3e08968 fix: do not attach token to a key slot
  • f2c419e feat: support LUKS token management
  • 076874a chore: resolve blockdevice symlinks
  • b4386f3 feat: make disk utils read subsystem information from the /sys/block
  • 8c7ea19 fix: blockdevice size is reported by Linux in 512 blocks always
  • e52e012 feat: add ext4 filesystem detection logic
  • 694ac62 chore: update imports to siderolabs, rekres
  • dcf6044 chore: rekres and rename
  • 9c4af49 fix: cryptsetup remove slot
  • 74ea471 feat: add freebsd stubs
  • 9fa801c feat: add ReadOnly attribute to Disk
  • fccee8b chore: rekres the source, fix issues
  • d9c3a27 feat: support probing FAT12/FAT16 filesystems
  • b374eb4 fix: align partition to 1M boundary by default
  • ec428fe fix: lookup filesystem labels on the actual device path
  • 7b9de26 feat: read symlink fullpath in block device list function
  • 6928ee4 refactor: rewrite GPT serialize/deserialize functions
  • 0c7e429 refactor: simplify middle endian functions
  • 15b182d fix: return partition table not exist when trying to read an empty dev
  • b9517d5 fix: resize partition
  • 70d2865 fix: try to find cdrom disks
  • 667bf53 fix: revert gpt partition not found
  • d7d4cdd fix: gpt partition not found
  • 33afba3 fix: also open in readonly mode when running All lookup method
  • e367f9d feat: make probe always open blockdevices in readonly mode
  • d981156 fix: allow Build for Windows
  • fe24303 fix: perform correct PMBR partition calculations
  • 2ec0c3c fix: preserve the PMBR bootable flag when opening GPT partition
  • 87816a8 feat: align partition to minimum I/O size
  • c34b59f feat: expose more encryption options in the LUKS module
  • 30c2bc3 feat: mark MBR bootable
  • 1292574 fix: make disk type matcher parser case insensitive
  • b77400e fix: properly detect nvme and sd card disk types
  • 1d830a2 fix: revert mark the EFI partition in PMBR as bootable
  • bec914f fix: mark the EFI partition in PMBR as bootable
  • 776b37d feat: add options to probe disk by various sysblock parameters
  • bb3ad73 fix: align partition start to physical sector size
  • 8f976c2 feat: replace exec.Command with go-cmd module
  • 1cf7f25 fix: properly handle no child processes error from cmd.Wait
  • 04a9851 feat: implement luks encryption provider
  • b0375e4 feat: add an option to open block device with exclusive flock
  • 5a1c7f7 refactor: add devname into gpt.Partition, refactor probe package
  • f2728a5 fix: keep contents of PMBR when writing it
  • 2878460 fix: write second copy of partition entries
  • 943b08b fix: blockdevice reset should read partition table from disk
  • 5b4ee44 fix: ignore /dev/ram devices
  • 98754ec refactor: rewrite GPT library
  • 2a1baad fix: correctly build paths for mmcblk devices
  • 8076344 fix: return proper disk size from GetDisks function
  • 8742133 chore: add common method to list available disks using /sys/block
  • c4b5833 feat: implement "fast" wipe
  • b4e67d7 feat: return resize status from Resize() function
  • ceae64e fix: sync kernel partition table incrementally
  • 2cb9516 fix: return correct error value from blkpg functions
  • cebe43d refactor: expose InsertAt method via interface
  • c40dcd8 fix: properly inform kernel about partition deletion
  • bb8ac5d feat: implement disk wiping via several methods
  • 23fb7dc feat: expose partition name (label)
  • ff3a821 feat: implement 'InsertAt' method to insert partitions at any position
  • [3d1ce4f](3d1ce4...
Read more

v0.4.5

26 Apr 13:13
v0.4.5
076874a
Compare
Choose a tag to compare

go-blockdevice 0.4.5 (2023-04-26)

Welcome to the v0.4.5 release of go-blockdevice!

Please try out the release binaries and report any issues at
https://github.com/siderolabs/go-blockdevice/issues.

Contributors

  • Andrey Smirnov
  • Artem Chernyshev
  • Andrey Smirnov
  • Artem Chernyshev
  • Noel Georgi
  • Serge Logvinov
  • Andrew Rynhard
  • Andrew Rynhard
  • Matt Zahorik
  • Olli Janatuinen
  • Seán C McCord
  • Spencer Smith

Changes

60 commits

  • 076874a chore: resolve blockdevice symlinks
  • b4386f3 feat: make disk utils read subsystem information from the /sys/block
  • 8c7ea19 fix: blockdevice size is reported by Linux in 512 blocks always
  • e52e012 feat: add ext4 filesystem detection logic
  • 694ac62 chore: update imports to siderolabs, rekres
  • dcf6044 chore: rekres and rename
  • 9c4af49 fix: cryptsetup remove slot
  • 74ea471 feat: add freebsd stubs
  • 9fa801c feat: add ReadOnly attribute to Disk
  • fccee8b chore: rekres the source, fix issues
  • d9c3a27 feat: support probing FAT12/FAT16 filesystems
  • b374eb4 fix: align partition to 1M boundary by default
  • ec428fe fix: lookup filesystem labels on the actual device path
  • 7b9de26 feat: read symlink fullpath in block device list function
  • 6928ee4 refactor: rewrite GPT serialize/deserialize functions
  • 0c7e429 refactor: simplify middle endian functions
  • 15b182d fix: return partition table not exist when trying to read an empty dev
  • b9517d5 fix: resize partition
  • 70d2865 fix: try to find cdrom disks
  • 667bf53 fix: revert gpt partition not found
  • d7d4cdd fix: gpt partition not found
  • 33afba3 fix: also open in readonly mode when running All lookup method
  • e367f9d feat: make probe always open blockdevices in readonly mode
  • d981156 fix: allow Build for Windows
  • fe24303 fix: perform correct PMBR partition calculations
  • 2ec0c3c fix: preserve the PMBR bootable flag when opening GPT partition
  • 87816a8 feat: align partition to minimum I/O size
  • c34b59f feat: expose more encryption options in the LUKS module
  • 30c2bc3 feat: mark MBR bootable
  • 1292574 fix: make disk type matcher parser case insensitive
  • b77400e fix: properly detect nvme and sd card disk types
  • 1d830a2 fix: revert mark the EFI partition in PMBR as bootable
  • bec914f fix: mark the EFI partition in PMBR as bootable
  • 776b37d feat: add options to probe disk by various sysblock parameters
  • bb3ad73 fix: align partition start to physical sector size
  • 8f976c2 feat: replace exec.Command with go-cmd module
  • 1cf7f25 fix: properly handle no child processes error from cmd.Wait
  • 04a9851 feat: implement luks encryption provider
  • b0375e4 feat: add an option to open block device with exclusive flock
  • 5a1c7f7 refactor: add devname into gpt.Partition, refactor probe package
  • f2728a5 fix: keep contents of PMBR when writing it
  • 2878460 fix: write second copy of partition entries
  • 943b08b fix: blockdevice reset should read partition table from disk
  • 5b4ee44 fix: ignore /dev/ram devices
  • 98754ec refactor: rewrite GPT library
  • 2a1baad fix: correctly build paths for mmcblk devices
  • 8076344 fix: return proper disk size from GetDisks function
  • 8742133 chore: add common method to list available disks using /sys/block
  • c4b5833 feat: implement "fast" wipe
  • b4e67d7 feat: return resize status from Resize() function
  • ceae64e fix: sync kernel partition table incrementally
  • 2cb9516 fix: return correct error value from blkpg functions
  • cebe43d refactor: expose InsertAt method via interface
  • c40dcd8 fix: properly inform kernel about partition deletion
  • bb8ac5d feat: implement disk wiping via several methods
  • 23fb7dc feat: expose partition name (label)
  • ff3a821 feat: implement 'InsertAt' method to insert partitions at any position
  • 3d1ce4f fix: calculate last lba of partition correctly
  • b71540f feat: copy initial version from talos-systems/talos
  • ca3c078 Initial commit

Changes since v0.4.4

1 commit
Read more

v0.4.4

26 Apr 13:12
v0.4.4
b4386f3
Compare
Choose a tag to compare

go-blockdevice 0.4.4 (2023-03-31)

Welcome to the v0.4.4 release of go-blockdevice!

Please try out the release binaries and report any issues at
https://github.com/siderolabs/go-blockdevice/issues.

Contributors

  • Andrey Smirnov
  • Artem Chernyshev
  • Andrey Smirnov
  • Artem Chernyshev
  • Serge Logvinov
  • Andrew Rynhard
  • Noel Georgi
  • Andrew Rynhard
  • Matt Zahorik
  • Olli Janatuinen
  • Seán C McCord
  • Spencer Smith

Changes

59 commits

  • b4386f3 feat: make disk utils read subsystem information from the /sys/block
  • 8c7ea19 fix: blockdevice size is reported by Linux in 512 blocks always
  • e52e012 feat: add ext4 filesystem detection logic
  • 694ac62 chore: update imports to siderolabs, rekres
  • dcf6044 chore: rekres and rename
  • 9c4af49 fix: cryptsetup remove slot
  • 74ea471 feat: add freebsd stubs
  • 9fa801c feat: add ReadOnly attribute to Disk
  • fccee8b chore: rekres the source, fix issues
  • d9c3a27 feat: support probing FAT12/FAT16 filesystems
  • b374eb4 fix: align partition to 1M boundary by default
  • ec428fe fix: lookup filesystem labels on the actual device path
  • 7b9de26 feat: read symlink fullpath in block device list function
  • 6928ee4 refactor: rewrite GPT serialize/deserialize functions
  • 0c7e429 refactor: simplify middle endian functions
  • 15b182d fix: return partition table not exist when trying to read an empty dev
  • b9517d5 fix: resize partition
  • 70d2865 fix: try to find cdrom disks
  • 667bf53 fix: revert gpt partition not found
  • d7d4cdd fix: gpt partition not found
  • 33afba3 fix: also open in readonly mode when running All lookup method
  • e367f9d feat: make probe always open blockdevices in readonly mode
  • d981156 fix: allow Build for Windows
  • fe24303 fix: perform correct PMBR partition calculations
  • 2ec0c3c fix: preserve the PMBR bootable flag when opening GPT partition
  • 87816a8 feat: align partition to minimum I/O size
  • c34b59f feat: expose more encryption options in the LUKS module
  • 30c2bc3 feat: mark MBR bootable
  • 1292574 fix: make disk type matcher parser case insensitive
  • b77400e fix: properly detect nvme and sd card disk types
  • 1d830a2 fix: revert mark the EFI partition in PMBR as bootable
  • bec914f fix: mark the EFI partition in PMBR as bootable
  • 776b37d feat: add options to probe disk by various sysblock parameters
  • bb3ad73 fix: align partition start to physical sector size
  • 8f976c2 feat: replace exec.Command with go-cmd module
  • 1cf7f25 fix: properly handle no child processes error from cmd.Wait
  • 04a9851 feat: implement luks encryption provider
  • b0375e4 feat: add an option to open block device with exclusive flock
  • 5a1c7f7 refactor: add devname into gpt.Partition, refactor probe package
  • f2728a5 fix: keep contents of PMBR when writing it
  • 2878460 fix: write second copy of partition entries
  • 943b08b fix: blockdevice reset should read partition table from disk
  • 5b4ee44 fix: ignore /dev/ram devices
  • 98754ec refactor: rewrite GPT library
  • 2a1baad fix: correctly build paths for mmcblk devices
  • 8076344 fix: return proper disk size from GetDisks function
  • 8742133 chore: add common method to list available disks using /sys/block
  • c4b5833 feat: implement "fast" wipe
  • b4e67d7 feat: return resize status from Resize() function
  • ceae64e fix: sync kernel partition table incrementally
  • 2cb9516 fix: return correct error value from blkpg functions
  • cebe43d refactor: expose InsertAt method via interface
  • c40dcd8 fix: properly inform kernel about partition deletion
  • bb8ac5d feat: implement disk wiping via several methods
  • 23fb7dc feat: expose partition name (label)
  • ff3a821 feat: implement 'InsertAt' method to insert partitions at any position
  • 3d1ce4f fix: calculate last lba of partition correctly
  • b71540f feat: copy initial version from talos-systems/talos
  • ca3c078 Initial commit

Changes since v0.4.3

1 commit

  • b4386f3 feat: make disk utils ...
Read more

v0.4.3

13 Feb 12:20
v0.4.3
8c7ea19
Compare
Choose a tag to compare

go-blockdevice 0.4.3 (2023-02-13)

Welcome to the v0.4.3 release of go-blockdevice!

Please try out the release binaries and report any issues at
https://github.com/siderolabs/go-blockdevice/issues.

Contributors

  • Andrey Smirnov
  • Artem Chernyshev
  • Andrey Smirnov
  • Artem Chernyshev
  • Serge Logvinov
  • Andrew Rynhard
  • Noel Georgi
  • Andrew Rynhard
  • Matt Zahorik
  • Olli Janatuinen
  • Seán C McCord
  • Spencer Smith

Changes

58 commits

  • 8c7ea19 fix: blockdevice size is reported by Linux in 512 blocks always
  • e52e012 feat: add ext4 filesystem detection logic
  • 694ac62 chore: update imports to siderolabs, rekres
  • dcf6044 chore: rekres and rename
  • 9c4af49 fix: cryptsetup remove slot
  • 74ea471 feat: add freebsd stubs
  • 9fa801c feat: add ReadOnly attribute to Disk
  • fccee8b chore: rekres the source, fix issues
  • d9c3a27 feat: support probing FAT12/FAT16 filesystems
  • b374eb4 fix: align partition to 1M boundary by default
  • ec428fe fix: lookup filesystem labels on the actual device path
  • 7b9de26 feat: read symlink fullpath in block device list function
  • 6928ee4 refactor: rewrite GPT serialize/deserialize functions
  • 0c7e429 refactor: simplify middle endian functions
  • 15b182d fix: return partition table not exist when trying to read an empty dev
  • b9517d5 fix: resize partition
  • 70d2865 fix: try to find cdrom disks
  • 667bf53 fix: revert gpt partition not found
  • d7d4cdd fix: gpt partition not found
  • 33afba3 fix: also open in readonly mode when running All lookup method
  • e367f9d feat: make probe always open blockdevices in readonly mode
  • d981156 fix: allow Build for Windows
  • fe24303 fix: perform correct PMBR partition calculations
  • 2ec0c3c fix: preserve the PMBR bootable flag when opening GPT partition
  • 87816a8 feat: align partition to minimum I/O size
  • c34b59f feat: expose more encryption options in the LUKS module
  • 30c2bc3 feat: mark MBR bootable
  • 1292574 fix: make disk type matcher parser case insensitive
  • b77400e fix: properly detect nvme and sd card disk types
  • 1d830a2 fix: revert mark the EFI partition in PMBR as bootable
  • bec914f fix: mark the EFI partition in PMBR as bootable
  • 776b37d feat: add options to probe disk by various sysblock parameters
  • bb3ad73 fix: align partition start to physical sector size
  • 8f976c2 feat: replace exec.Command with go-cmd module
  • 1cf7f25 fix: properly handle no child processes error from cmd.Wait
  • 04a9851 feat: implement luks encryption provider
  • b0375e4 feat: add an option to open block device with exclusive flock
  • 5a1c7f7 refactor: add devname into gpt.Partition, refactor probe package
  • f2728a5 fix: keep contents of PMBR when writing it
  • 2878460 fix: write second copy of partition entries
  • 943b08b fix: blockdevice reset should read partition table from disk
  • 5b4ee44 fix: ignore /dev/ram devices
  • 98754ec refactor: rewrite GPT library
  • 2a1baad fix: correctly build paths for mmcblk devices
  • 8076344 fix: return proper disk size from GetDisks function
  • 8742133 chore: add common method to list available disks using /sys/block
  • c4b5833 feat: implement "fast" wipe
  • b4e67d7 feat: return resize status from Resize() function
  • ceae64e fix: sync kernel partition table incrementally
  • 2cb9516 fix: return correct error value from blkpg functions
  • cebe43d refactor: expose InsertAt method via interface
  • c40dcd8 fix: properly inform kernel about partition deletion
  • bb8ac5d feat: implement disk wiping via several methods
  • 23fb7dc feat: expose partition name (label)
  • ff3a821 feat: implement 'InsertAt' method to insert partitions at any position
  • 3d1ce4f fix: calculate last lba of partition correctly
  • b71540f feat: copy initial version from talos-systems/talos
  • ca3c078 Initial commit

Changes since v0.4.2

1 commit

  • 8c7ea19 fix: blockdevice size is reported by Linux in 512 blocks always

Dependency Changes

This release has no dependency changes

v0.4.2

05 Dec 10:30
v0.4.2
e52e012
Compare
Choose a tag to compare

go-blockdevice 0.4.2 (2022-12-05)

Welcome to the v0.4.2 release of go-blockdevice!

Please try out the release binaries and report any issues at
https://github.com/siderolabs/go-blockdevice/issues.

Contributors

  • Andrey Smirnov
  • Artem Chernyshev
  • Andrey Smirnov
  • Artem Chernyshev
  • Serge Logvinov
  • Andrew Rynhard
  • Noel Georgi
  • Andrew Rynhard
  • Matt Zahorik
  • Olli Janatuinen
  • Seán C McCord
  • Spencer Smith

Changes

57 commits

  • e52e012 feat: add ext4 filesystem detection logic
  • 694ac62 chore: update imports to siderolabs, rekres
  • dcf6044 chore: rekres and rename
  • 9c4af49 fix: cryptsetup remove slot
  • 74ea471 feat: add freebsd stubs
  • 9fa801c feat: add ReadOnly attribute to Disk
  • fccee8b chore: rekres the source, fix issues
  • d9c3a27 feat: support probing FAT12/FAT16 filesystems
  • b374eb4 fix: align partition to 1M boundary by default
  • ec428fe fix: lookup filesystem labels on the actual device path
  • 7b9de26 feat: read symlink fullpath in block device list function
  • 6928ee4 refactor: rewrite GPT serialize/deserialize functions
  • 0c7e429 refactor: simplify middle endian functions
  • 15b182d fix: return partition table not exist when trying to read an empty dev
  • b9517d5 fix: resize partition
  • 70d2865 fix: try to find cdrom disks
  • 667bf53 fix: revert gpt partition not found
  • d7d4cdd fix: gpt partition not found
  • 33afba3 fix: also open in readonly mode when running All lookup method
  • e367f9d feat: make probe always open blockdevices in readonly mode
  • d981156 fix: allow Build for Windows
  • fe24303 fix: perform correct PMBR partition calculations
  • 2ec0c3c fix: preserve the PMBR bootable flag when opening GPT partition
  • 87816a8 feat: align partition to minimum I/O size
  • c34b59f feat: expose more encryption options in the LUKS module
  • 30c2bc3 feat: mark MBR bootable
  • 1292574 fix: make disk type matcher parser case insensitive
  • b77400e fix: properly detect nvme and sd card disk types
  • 1d830a2 fix: revert mark the EFI partition in PMBR as bootable
  • bec914f fix: mark the EFI partition in PMBR as bootable
  • 776b37d feat: add options to probe disk by various sysblock parameters
  • bb3ad73 fix: align partition start to physical sector size
  • 8f976c2 feat: replace exec.Command with go-cmd module
  • 1cf7f25 fix: properly handle no child processes error from cmd.Wait
  • 04a9851 feat: implement luks encryption provider
  • b0375e4 feat: add an option to open block device with exclusive flock
  • 5a1c7f7 refactor: add devname into gpt.Partition, refactor probe package
  • f2728a5 fix: keep contents of PMBR when writing it
  • 2878460 fix: write second copy of partition entries
  • 943b08b fix: blockdevice reset should read partition table from disk
  • 5b4ee44 fix: ignore /dev/ram devices
  • 98754ec refactor: rewrite GPT library
  • 2a1baad fix: correctly build paths for mmcblk devices
  • 8076344 fix: return proper disk size from GetDisks function
  • 8742133 chore: add common method to list available disks using /sys/block
  • c4b5833 feat: implement "fast" wipe
  • b4e67d7 feat: return resize status from Resize() function
  • ceae64e fix: sync kernel partition table incrementally
  • 2cb9516 fix: return correct error value from blkpg functions
  • cebe43d refactor: expose InsertAt method via interface
  • c40dcd8 fix: properly inform kernel about partition deletion
  • bb8ac5d feat: implement disk wiping via several methods
  • 23fb7dc feat: expose partition name (label)
  • ff3a821 feat: implement 'InsertAt' method to insert partitions at any position
  • 3d1ce4f fix: calculate last lba of partition correctly
  • b71540f feat: copy initial version from talos-systems/talos
  • ca3c078 Initial commit

Changes since v0.4.1

1 commit

  • e52e012 feat: add ext4 filesystem detection logic

Dependency Changes

This release has no dependency changes

v0.4.1

01 Nov 08:35
v0.4.1
694ac62
Compare
Choose a tag to compare

go-blockdevice 0.4.1 (2022-11-01)

Welcome to the v0.4.1 release of go-blockdevice!

Please try out the release binaries and report any issues at
https://github.com/siderolabs/go-blockdevice/issues.

Contributors

  • Andrey Smirnov
  • Artem Chernyshev
  • Andrey Smirnov
  • Artem Chernyshev
  • Serge Logvinov
  • Andrew Rynhard
  • Noel Georgi
  • Andrew Rynhard
  • Matt Zahorik
  • Olli Janatuinen
  • Seán C McCord
  • Spencer Smith

Changes

56 commits

  • 694ac62 chore: update imports to siderolabs, rekres
  • dcf6044 chore: rekres and rename
  • 9c4af49 fix: cryptsetup remove slot
  • 74ea471 feat: add freebsd stubs
  • 9fa801c feat: add ReadOnly attribute to Disk
  • fccee8b chore: rekres the source, fix issues
  • d9c3a27 feat: support probing FAT12/FAT16 filesystems
  • b374eb4 fix: align partition to 1M boundary by default
  • ec428fe fix: lookup filesystem labels on the actual device path
  • 7b9de26 feat: read symlink fullpath in block device list function
  • 6928ee4 refactor: rewrite GPT serialize/deserialize functions
  • 0c7e429 refactor: simplify middle endian functions
  • 15b182d fix: return partition table not exist when trying to read an empty dev
  • b9517d5 fix: resize partition
  • 70d2865 fix: try to find cdrom disks
  • 667bf53 fix: revert gpt partition not found
  • d7d4cdd fix: gpt partition not found
  • 33afba3 fix: also open in readonly mode when running All lookup method
  • e367f9d feat: make probe always open blockdevices in readonly mode
  • d981156 fix: allow Build for Windows
  • fe24303 fix: perform correct PMBR partition calculations
  • 2ec0c3c fix: preserve the PMBR bootable flag when opening GPT partition
  • 87816a8 feat: align partition to minimum I/O size
  • c34b59f feat: expose more encryption options in the LUKS module
  • 30c2bc3 feat: mark MBR bootable
  • 1292574 fix: make disk type matcher parser case insensitive
  • b77400e fix: properly detect nvme and sd card disk types
  • 1d830a2 fix: revert mark the EFI partition in PMBR as bootable
  • bec914f fix: mark the EFI partition in PMBR as bootable
  • 776b37d feat: add options to probe disk by various sysblock parameters
  • bb3ad73 fix: align partition start to physical sector size
  • 8f976c2 feat: replace exec.Command with go-cmd module
  • 1cf7f25 fix: properly handle no child processes error from cmd.Wait
  • 04a9851 feat: implement luks encryption provider
  • b0375e4 feat: add an option to open block device with exclusive flock
  • 5a1c7f7 refactor: add devname into gpt.Partition, refactor probe package
  • f2728a5 fix: keep contents of PMBR when writing it
  • 2878460 fix: write second copy of partition entries
  • 943b08b fix: blockdevice reset should read partition table from disk
  • 5b4ee44 fix: ignore /dev/ram devices
  • 98754ec refactor: rewrite GPT library
  • 2a1baad fix: correctly build paths for mmcblk devices
  • 8076344 fix: return proper disk size from GetDisks function
  • 8742133 chore: add common method to list available disks using /sys/block
  • c4b5833 feat: implement "fast" wipe
  • b4e67d7 feat: return resize status from Resize() function
  • ceae64e fix: sync kernel partition table incrementally
  • 2cb9516 fix: return correct error value from blkpg functions
  • cebe43d refactor: expose InsertAt method via interface
  • c40dcd8 fix: properly inform kernel about partition deletion
  • bb8ac5d feat: implement disk wiping via several methods
  • 23fb7dc feat: expose partition name (label)
  • ff3a821 feat: implement 'InsertAt' method to insert partitions at any position
  • 3d1ce4f fix: calculate last lba of partition correctly
  • b71540f feat: copy initial version from talos-systems/talos
  • ca3c078 Initial commit

Changes since v0.4.0

1 commit

  • 694ac62 chore: update imports to siderolabs, rekres

Dependency Changes

This release has no dependency changes

v0.4.0

21 Sep 10:14
v0.4.0
dcf6044
Compare
Choose a tag to compare

go-blockdevice 0.4.0 (2022-09-21)

Welcome to the v0.4.0 release of go-blockdevice!

Please try out the release binaries and report any issues at
https://github.com/siderolabs/go-blockdevice/issues.

Contributors

  • Andrey Smirnov
  • Artem Chernyshev
  • Andrey Smirnov
  • Artem Chernyshev
  • Serge Logvinov
  • Andrew Rynhard
  • Noel Georgi
  • Andrew Rynhard
  • Matt Zahorik
  • Olli Janatuinen
  • Seán C McCord
  • Spencer Smith

Changes

55 commits

  • dcf6044 chore: rekres and rename
  • 9c4af49 fix: cryptsetup remove slot
  • 74ea471 feat: add freebsd stubs
  • 9fa801c feat: add ReadOnly attribute to Disk
  • fccee8b chore: rekres the source, fix issues
  • d9c3a27 feat: support probing FAT12/FAT16 filesystems
  • b374eb4 fix: align partition to 1M boundary by default
  • ec428fe fix: lookup filesystem labels on the actual device path
  • 7b9de26 feat: read symlink fullpath in block device list function
  • 6928ee4 refactor: rewrite GPT serialize/deserialize functions
  • 0c7e429 refactor: simplify middle endian functions
  • 15b182d fix: return partition table not exist when trying to read an empty dev
  • b9517d5 fix: resize partition
  • 70d2865 fix: try to find cdrom disks
  • 667bf53 fix: revert gpt partition not found
  • d7d4cdd fix: gpt partition not found
  • 33afba3 fix: also open in readonly mode when running All lookup method
  • e367f9d feat: make probe always open blockdevices in readonly mode
  • d981156 fix: allow Build for Windows
  • fe24303 fix: perform correct PMBR partition calculations
  • 2ec0c3c fix: preserve the PMBR bootable flag when opening GPT partition
  • 87816a8 feat: align partition to minimum I/O size
  • c34b59f feat: expose more encryption options in the LUKS module
  • 30c2bc3 feat: mark MBR bootable
  • 1292574 fix: make disk type matcher parser case insensitive
  • b77400e fix: properly detect nvme and sd card disk types
  • 1d830a2 fix: revert mark the EFI partition in PMBR as bootable
  • bec914f fix: mark the EFI partition in PMBR as bootable
  • 776b37d feat: add options to probe disk by various sysblock parameters
  • bb3ad73 fix: align partition start to physical sector size
  • 8f976c2 feat: replace exec.Command with go-cmd module
  • 1cf7f25 fix: properly handle no child processes error from cmd.Wait
  • 04a9851 feat: implement luks encryption provider
  • b0375e4 feat: add an option to open block device with exclusive flock
  • 5a1c7f7 refactor: add devname into gpt.Partition, refactor probe package
  • f2728a5 fix: keep contents of PMBR when writing it
  • 2878460 fix: write second copy of partition entries
  • 943b08b fix: blockdevice reset should read partition table from disk
  • 5b4ee44 fix: ignore /dev/ram devices
  • 98754ec refactor: rewrite GPT library
  • 2a1baad fix: correctly build paths for mmcblk devices
  • 8076344 fix: return proper disk size from GetDisks function
  • 8742133 chore: add common method to list available disks using /sys/block
  • c4b5833 feat: implement "fast" wipe
  • b4e67d7 feat: return resize status from Resize() function
  • ceae64e fix: sync kernel partition table incrementally
  • 2cb9516 fix: return correct error value from blkpg functions
  • cebe43d refactor: expose InsertAt method via interface
  • c40dcd8 fix: properly inform kernel about partition deletion
  • bb8ac5d feat: implement disk wiping via several methods
  • 23fb7dc feat: expose partition name (label)
  • ff3a821 feat: implement 'InsertAt' method to insert partitions at any position
  • 3d1ce4f fix: calculate last lba of partition correctly
  • b71540f feat: copy initial version from talos-systems/talos
  • ca3c078 Initial commit

Dependency Changes

This release has no dependency changes

v0.3.4

15 Jul 00:19
v0.3.4
74ea471
Compare
Choose a tag to compare

go-blockdevice 0.3.4 (2022-07-15)

Welcome to the v0.3.4 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
  • Seán C McCord
  • Spencer Smith

Changes

53 commits

  • 74ea471 feat: add freebsd stubs
  • 9fa801c feat: add ReadOnly attribute to Disk
  • fccee8b chore: rekres the source, fix issues
  • d9c3a27 feat: support probing FAT12/FAT16 filesystems
  • b374eb4 fix: align partition to 1M boundary by default
  • ec428fe fix: lookup filesystem labels on the actual device path
  • 7b9de26 feat: read symlink fullpath in block device list function
  • 6928ee4 refactor: rewrite GPT serialize/deserialize functions
  • 0c7e429 refactor: simplify middle endian functions
  • 15b182d fix: return partition table not exist when trying to read an empty dev
  • b9517d5 fix: resize partition
  • 70d2865 fix: try to find cdrom disks
  • 667bf53 fix: revert gpt partition not found
  • d7d4cdd fix: gpt partition not found
  • 33afba3 fix: also open in readonly mode when running All lookup method
  • e367f9d feat: make probe always open blockdevices in readonly mode
  • d981156 fix: allow Build for Windows
  • fe24303 fix: perform correct PMBR partition calculations
  • 2ec0c3c fix: preserve the PMBR bootable flag when opening GPT partition
  • 87816a8 feat: align partition to minimum I/O size
  • c34b59f feat: expose more encryption options in the LUKS module
  • 30c2bc3 feat: mark MBR bootable
  • 1292574 fix: make disk type matcher parser case insensitive
  • b77400e fix: properly detect nvme and sd card disk types
  • 1d830a2 fix: revert mark the EFI partition in PMBR as bootable
  • bec914f fix: mark the EFI partition in PMBR as bootable
  • 776b37d feat: add options to probe disk by various sysblock parameters
  • bb3ad73 fix: align partition start to physical sector size
  • 8f976c2 feat: replace exec.Command with go-cmd module
  • 1cf7f25 fix: properly handle no child processes error from cmd.Wait
  • 04a9851 feat: implement luks encryption provider
  • b0375e4 feat: add an option to open block device with exclusive flock
  • 5a1c7f7 refactor: add devname into gpt.Partition, refactor probe package
  • f2728a5 fix: keep contents of PMBR when writing it
  • 2878460 fix: write second copy of partition entries
  • 943b08b fix: blockdevice reset should read partition table from disk
  • 5b4ee44 fix: ignore /dev/ram devices
  • 98754ec refactor: rewrite GPT library
  • 2a1baad fix: correctly build paths for mmcblk devices
  • 8076344 fix: return proper disk size from GetDisks function
  • 8742133 chore: add common method to list available disks using /sys/block
  • c4b5833 feat: implement "fast" wipe
  • b4e67d7 feat: return resize status from Resize() function
  • ceae64e fix: sync kernel partition table incrementally
  • 2cb9516 fix: return correct error value from blkpg functions
  • cebe43d refactor: expose InsertAt method via interface
  • c40dcd8 fix: properly inform kernel about partition deletion
  • bb8ac5d feat: implement disk wiping via several methods
  • 23fb7dc feat: expose partition name (label)
  • ff3a821 feat: implement 'InsertAt' method to insert partitions at any position
  • 3d1ce4f fix: calculate last lba of partition correctly
  • b71540f feat: copy initial version from talos-systems/talos
  • ca3c078 Initial commit

Changes since v0.3.3

2 commits

  • 74ea471 feat: add freebsd stubs
  • 9fa801c feat: add ReadOnly attribute to Disk

Dependency Changes

This release has no dependency changes