cryptsetup luksFormat /dev/sdb1
Category: Administration
cryptsetup luksFormat /dev/sdb1
Initialize a LUKS-encrypted device
Use `cryptsetup luksFormat /dev/sdb1` to initialize a LUKS-encrypted device. Helpful when you need this quickly on a Linux server.