[systemd-devel] /run needs to be mounted? ugh.

Lennart Poettering lennart at poettering.net
Tue Feb 11 10:56:05 PST 2014


On Tue, 11.02.14 19:53, Jason A. Donenfeld (Jason at zx2c4.com) wrote:

> 
> > On Tue, Feb 11, 2014 at 5:25 PM, Lennart Poettering <lennart at poettering.net> wrote:
> > Hmm, so how do you wait for the LUKS device to show up? You need
> > something like udev around, which uses /run...
> > And AFAIR the DM userspace does keep some runtime state around, and that
> > one probably wants to pass over to the host OS...
> > Lennart
> 
> devtmpfs does the trick.

devtmpfs does not give you notifications when devices appear. If you
want to generically wait for the right LUKS device to show up, you need
something like udev in the mix, which provides you with notifications
for this...

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list