2 .TH "SYSTEMD\-CRYPTSETUP\-GENERATOR" "8" "" "systemd 217" "systemd-cryptsetup-generator"
3 .\" -----------------------------------------------------------------
4 .\" * Define some portability stuff
5 .\" -----------------------------------------------------------------
6 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7 .\" http://bugs.debian.org/507673
8 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
9 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
12 .\" -----------------------------------------------------------------
13 .\" * set default formatting
14 .\" -----------------------------------------------------------------
15 .\" disable hyphenation
17 .\" disable justification (adjust text to left margin only)
19 .\" -----------------------------------------------------------------
20 .\" * MAIN CONTENT STARTS HERE *
21 .\" -----------------------------------------------------------------
23 systemd-cryptsetup-generator \- Unit generator for /etc/crypttab
26 /usr/lib/systemd/system\-generators/systemd\-cryptsetup\-generator
29 systemd\-cryptsetup\-generator
30 is a generator that translates
32 into native systemd units early at boot and when configuration of the system manager is reloaded\&. This will create
33 \fBsystemd-cryptsetup@.service\fR(8)
36 systemd\-cryptsetup\-generator
38 \m[blue]\fBgenerator specification\fR\m[]\&\s-2\u[1]\d\s+2\&.
39 .SH "KERNEL COMMAND LINE"
41 systemd\-cryptsetup\-generator
42 understands the following kernel command line parameters:
44 \fIluks=\fR, \fIrd\&.luks=\fR
46 Takes a boolean argument\&. Defaults to
48 "no", disables the generator entirely\&.
50 is honored only by initial RAM disk (initrd) while
52 is honored by both the main system and the initrd\&.
55 \fIluks\&.crypttab=\fR, \fIrd\&.luks\&.crypttab=\fR
57 Takes a boolean argument\&. Defaults to
59 "no", causes the generator to ignore any devices configured in
62 will still work however)\&.
63 \fIrd\&.luks\&.crypttab=\fR
64 is honored only by initial RAM disk (initrd) while
65 \fIluks\&.crypttab=\fR
66 is honored by both the main system and the initrd\&.
69 \fIluks\&.uuid=\fR, \fIrd\&.luks\&.uuid=\fR
71 Takes a LUKS superblock UUID as argument\&. This will activate the specified device as part of the boot process as if it was listed in
72 /etc/fstab\&. This option may be specified more than once in order to set up multiple devices\&.
73 \fIrd\&.luks\&.uuid=\fR
74 is honored only by initial RAM disk (initrd) while
76 is honored by both the main system and the initrd\&.
78 If /etc/crypttab contains entries with the same UUID, then the options for this entry will be used\&.
80 If /etc/crypttab exists, only those UUID specified on the kernel command line will be activated in the initrd or the real root\&.
83 \fIluks\&.options=\fR, \fIrd\&.luks\&.options=\fR
85 Takes a LUKS super block UUID followed by an \*(Aq=\*(Aq and a string of options separated by commas as argument\&. This will override the options for the given UUID\&.
87 If only a list of options, without an UUID, is specified, they apply to any UUIDs not specified elsewhere, and without an entry in /etc/crypttab\&.
89 \fIrd\&.luks\&.options=\fR
90 is honored only by initial RAM disk (initrd) while
92 is honored by both the main system and the initrd\&.
95 \fIluks\&.key=\fR, \fIrd\&.luks\&.key=\fR
97 Takes a password file as argument\&.
99 For those entries specified with
100 \fIrd\&.luks\&.uuid=\fR
102 \fIluks\&.uuid=\fR, the password file will be set to the password file specified by
103 \fIrd\&.luks\&.key=\fR
107 \fIrd\&.luks\&.key=\fR
108 is honored only by initial RAM disk (initrd) while
110 is honored by both the main system and the initrd\&.
116 \fBsystemd-cryptsetup@.service\fR(8),
118 \fBsystemd-fstab-generator\fR(8)
121 generator specification
123 \%http://www.freedesktop.org/wiki/Software/systemd/Generators