MAN.9FRONT.ORG RTFM


     CRYPTSETUP(8)                                       CRYPTSETUP(8)

     NAME
          cryptsetup - setup encrypted partition

     SYNOPSIS
          disk/cryptsetup -f files ...
          disk/cryptsetup -o files ...
          disk/cryptsetup -i files ...

     DESCRIPTION
          Cryptsetup prepares an AES-encrypted partition to be used
          with the fs(3) device.

          The -f flag formats the partition files, generating a new
          encryption key. The user will be prompted for a password
          that will be used to protect the encryption key.

          The flags -i and -o activate a previously formatted
          encrypted partition. The -o flag outputs the fs(3) ctl acti-
          vation commands to standard output, whereas -i directly
          writes them to the '/dev/fs/ctl' file. The user will be
          prompted for the password that was used to protect the
          encryption key.

          Once activated, the new partition appears under /dev/fs/name
          where name is the last path element of the files argument.

     SOURCE
          /sys/src/cmd/disk/cryptsetup.c

     SEE ALSO
          aes(2), fs(3)

     HISTORY
          Cryptsetup first appeared in 9front (May, 2011).