How to run cryptsetup luksFormat non-interactively
When LUKS formatting a partition, I recieve the message
# cryptsetup luksFormat /dev/sdb WARNING! ======== This will overwrite data on /dev/sdb irrevocably. Are you sure? (Type uppercase yes): YES
How can I automatically answer
YES to the question "Are you sure ?