mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-08 17:30:03 +01:00
The device_check is done in header write functions, but these are not recached in normal format path as wipe call is called earlier. Call the device check also from wipe function to get better error description. This situation happens for example when a block device is too small (regular file can be enlarged by falloc(); block device cannot).