#!/bin/zsh if [ "$#" -ne 1 ]; then echo "missing arg." exit fi cryptsetup -c aes-xts-plain64 -s 256 -h sha256 -i 1000 --use-random -y luksFormat $1