[systemd-devel] crypttab automount

Jan medhefgo at web.de
Mon Jul 21 23:44:16 PDT 2014


Ralf Jung <post <at> ralfj.de> writes:

> 
> Hi all,
> 
> first of all, please forgive me if this is not the right list for
> questions of systemd users. In this case, I would appreciate if you
> could forward me to the right channel for my question. I couldn't find a
> "systemd-users" list.
> 
> In my laptop, I do have an encrypted partition on a second HDD that I
> want to be be mounted automatically, but without delaying the boot.
> Concretely, I have the following in my /etc/crypttab:
> 
> >  store           UUID=...          /some/keyfile luks
> 

You were looking for the "noauto" option for crypttab (it's in the manpage,
btw).
The unit will then only get activated when the automount point is accessed.
As far
as I know, this will only work if the corresponding fstab device is from
/dev/mapper/.

Jan



More information about the systemd-devel mailing list