mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +01:00
NOTE: This is possibly an incompatible change as it changes text output. Since the support of --sector-size option, the description "sectors" became ambiguous as it usually means 512-byte sectors (device-mapper unit). Major confusion occurs when the sector size is 4096 bytes while units display is in 512-bytes. Unfortunately, there is no clear compatible way, so this patch adds [512-byte units] marker and also additional byte size value. All other fields that display units are changed to use the "[units]" format. The integrity format is also unified with the common style with ':' as a separator. Fixes: #884.