CRYPTTAB(5) BSD File Formats Manual CRYPTTAB(5)NAMEcrypttab — encrypted disk device table
DESCRIPTION
The crypttab file contains a list of the encrypted disk devices of the
system. Each encrypted volume is described on a separate line; fields on
each line are separated by tabs or spaces.
The first field, (name), contains the name of the resultant crypto volume
device, which will be a node in /dev/mapper with the given name.
The second field, (device), is the underlying device on which the crypto
volume resides and must be a full device path to a node in /dev.
The third field, (keyfile), is either the value none or the full path on
the file system to a keyfile to unlock the crypto volume. If none is
specified, the system will prompt for a password during the boot
sequence.
The fourth field, (options), is currently unused on DragonFly and should
be either omitted or set to none.
Note that the crypttab file on DragonFly currently only supports LUKS
volumes and not raw cryptsetup(8) volumes.
FILES
/etc/crypttab The crypttab file resides in /etc.
EXAMPLES
The following line specifies a crypto volume without a keyfile, so that a
password will be prompted during the boot sequence. Upon successful entry
of the password the device /dev/mapper/vol1 will be created.
vol1 /dev/da0s1b none none
The next example is as the one before but using a keyfile on /boot
instead of an interactive password prompt.
vol1 /dev/da0s1b /boot/keyfile.0 none
SEE ALSOcryptsetup(8)HISTORY
The crypttab file format appeared in DragonFly 2.9.
BSD October 22, 2010 BSD