EXAMPLES
# Encrypted swap device
cswap /dev/sda6 /dev/urandom plain,cipher=aes-xts-plain64,size=256,hash=sha1,swap
The above is from crypttab(5), the below is what I used in my crypttab:
cswap /dev/sda1 /dev/urandom plain,cipher=aes-xts-plain64,size=256,hash=sha1,swap
# cryptdisks_start cswap
Starting crypto disk...cswap (starting)...WARNING: The --hash parameter is being ignored in plain mode with keyfile specified.
cswap (started)...done.
I believe that when I copy something exactly from an example in a man page I
should get no errors and no warnings.