diskimage-builder/releasenotes/notes/add-4k-block-device-support-8397c2b6122d864c.yaml
Julia Kreger 2df6d9b914 4k Block device support
Adds support for the block device size to be asserted for the purpose of
writing out new images, which may be critical for operators with hardware
which requires logical blocks which are 4096 bytes long.

Change-Id: I5c16a042eacfbb94a905b93a0eb9fbc73de0a890
2024-08-30 13:30:27 -07:00

11 lines
532 B
YAML

---
features:
- |
Adds the ability for diskimage-builder to create images with different
block sizes. By default, this remains at the default of 512 bytes,
but some newer devices require 4096 bytes to be used, which impacts
the overall layout rendering 512 byte images incompatible. This setting
can also be asserted and overridden using the ``DIB_BLOCK_SIZE``
environment variable, but alternatively exists as a new ``block_size``
parameter for ``local_loop`` section in block device YAML documents.