crypttab(5) — cryptsetup — Debian trixie — Debian Manpages
MANPAGES
Skip Quicknav
Index
About Manpages
FAQ
Service Information
trixie
cryptsetup
/ crypttab(5)
links
language-indep link
package tracker
raw man page
table of contents
NAME
DESCRIPTION
ON DIFFERENT CRYPTTAB FORMATS
OPTIONS
CHECKSCRIPTS
EXAMPLES
ENVIRONMENT
KNOWN UPGRADE ISSUES
SEE ALSO
AUTHOR
other versions
trixie
2:2.7.5-2
testing
2:2.8.6-1
unstable
2:2.8.6-1
other languages
Scroll to navigation
CRYPTTAB(5)
cryptsetup manual
CRYPTTAB(5)
NAME
crypttab - static information about encrypted filesystems
DESCRIPTION
The file /etc/crypttab contains descriptive information about
encrypted devices. crypttab is only read by programs (e.g.
cryptdisks_start
and
cryptdisks_stop
), and not written; it is
the duty of the system administrator to properly create and maintain this
file. crypttab entries are treated sequentially, so their order matters
(dependencies need to listed first).
Each encrypted device is described on a separate line. Fields on
each line are separated by tabs or spaces. Lines starting with '#' are
comments, and blank lines are ignored. Octal sequences \0
num
within a
field are decoded, which can be used for values containing spaces or special
characters. A backslash which doesn't start an octal sequence yields
undefined behavior.
The first field,
target
, describes the mapped device name.
It must be a plain filename without any directory components. A mapped
device which encrypts/decrypts data to/from the
source device
will be
created at /dev/mapper/target by
cryptsetup
The second field,
source device
, describes either the block
special device or file that contains the encrypted data. Instead of giving
the
source device
explicitly, the UUID (resp. LABEL, PARTUUID and
PARTLABEL) is supported as well, using “UUID=
(resp. “LABEL=