Skip to content

Releases: siderolabs/go-blockdevice

v2.0.7

12 Dec 15:37
v2.0.7
8853e37
Compare
Choose a tag to compare

go-blockdevice 2.0.7 (2024-12-12)

Welcome to the v2.0.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
  • Dmitry Sharshakov
  • Dmitriy Matrenichev

Changes

28 commits

  • 8853e37 feat: support reading VFAT volume labels
  • af28144 fix: make extfs filesystem detection separate for ext2/3/4
  • 6d3b4b0 feat: implement device wiping by signatures
  • 5bff648 fix: kernel partition sync when overwriting GPT
  • f63c85d feat: add support for checking if device is already open
  • 33f603a fix: correctly process GPT with gaps
  • d39fa20 fix: add context to luks commands
  • 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

Changes since v2.0.6

1 commit

  • 8853e37 feat: support reading VFAT volume labels

Dependency Changes

This release has no dependency changes

v2.0.6

21 Nov 12:18
v2.0.6
af28144
Compare
Choose a tag to compare

go-blockdevice 2.0.6 (2024-11-21)

Welcome to the v2.0.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
  • Dmitry Sharshakov
  • Dmitriy Matrenichev

Changes

27 commits

  • af28144 fix: make extfs filesystem detection separate for ext2/3/4
  • 6d3b4b0 feat: implement device wiping by signatures
  • 5bff648 fix: kernel partition sync when overwriting GPT
  • f63c85d feat: add support for checking if device is already open
  • 33f603a fix: correctly process GPT with gaps
  • d39fa20 fix: add context to luks commands
  • 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

Changes since v2.0.5

1 commit

  • af28144 fix: make extfs filesystem detection separate for ext2/3/4

Dependency Changes

This release has no dependency changes

v2.0.5

15 Nov 13:18
v2.0.5
6d3b4b0
Compare
Choose a tag to compare

go-blockdevice 2.0.5 (2024-11-15)

Welcome to the v2.0.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
  • Dmitry Sharshakov
  • Dmitriy Matrenichev

Changes

26 commits

  • 6d3b4b0 feat: implement device wiping by signatures
  • 5bff648 fix: kernel partition sync when overwriting GPT
  • f63c85d feat: add support for checking if device is already open
  • 33f603a fix: correctly process GPT with gaps
  • d39fa20 fix: add context to luks commands
  • 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

Changes since v2.0.4

1 commit

  • 6d3b4b0 feat: implement device wiping by signatures

Dependency Changes

This release has no dependency changes

v2.0.4

13 Nov 14:42
v2.0.4
5bff648
Compare
Choose a tag to compare

go-blockdevice 2.0.4 (2024-11-13)

Welcome to the v2.0.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
  • Dmitry Sharshakov
  • Dmitriy Matrenichev

Changes

25 commits

  • 5bff648 fix: kernel partition sync when overwriting GPT
  • f63c85d feat: add support for checking if device is already open
  • 33f603a fix: correctly process GPT with gaps
  • d39fa20 fix: add context to luks commands
  • 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

Changes since v2.0.3

1 commit

  • 5bff648 fix: kernel partition sync when overwriting GPT

Dependency Changes

This release has no dependency changes

v2.0.3

13 Nov 14:38
v2.0.3
f63c85d
Compare
Choose a tag to compare

go-blockdevice 2.0.3 (2024-10-04)

Welcome to the v2.0.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
  • Dmitry Sharshakov
  • Dmitriy Matrenichev

Changes

24 commits

  • f63c85d feat: add support for checking if device is already open
  • 33f603a fix: correctly process GPT with gaps
  • d39fa20 fix: add context to luks commands
  • 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

Changes since v2.0.2

1 commit

  • f63c85d feat: add support for checking if device is already open

Dependency Changes

This release has no dependency changes

v2.0.2

23 Sep 11:01
v2.0.2
33f603a
Compare
Choose a tag to compare

go-blockdevice 2.0.2 (2024-09-23)

Welcome to the v2.0.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
  • Dmitry Sharshakov
  • Dmitriy Matrenichev

Changes

23 commits

  • 33f603a fix: correctly process GPT with gaps
  • d39fa20 fix: add context to luks commands
  • 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

Changes since v2.0.1

1 commit

  • 33f603a fix: correctly process GPT with gaps

Dependency Changes

This release has no dependency changes

v0.4.8

11 Sep 15:17
v0.4.8
134c41b
Compare
Choose a tag to compare

go-blockdevice 0.4.8 (2024-09-11)

Welcome to the v0.4.8 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
  • Andrey Smirnov
  • Matt Zahorik
  • Olli Janatuinen
  • Seán C McCord
  • Spencer Smith

Changes

67 commits

  • 134c41b fix: fast wipe also last 1MB of the device
  • 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 dele...
Read more

v2.0.1

30 Aug 14:27
v2.0.1
d39fa20
Compare
Choose a tag to compare

go-blockdevice 2.0.1 (2024-08-30)

Welcome to the v2.0.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
  • Dmitry Sharshakov
  • Dmitriy Matrenichev

Changes

22 commits

  • d39fa20 fix: add context to luks commands
  • 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

Changes since v2.0.0

1 commit

  • d39fa20 fix: add context to luks commands

Dependency Changes

This release has no dependency changes

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