[systemd-devel] A use case for staged startup

Lennart Poettering mzerqung at 0pointer.de
Mon Feb 23 05:01:01 PST 2015


On Sun, 22.02.15 02:31, Jeff Waugh (jdub at bethesignal.org) wrote:

> But it's time to get serious. And everyone knows that "serious" means
> having a writeable root filesystem. OpenWrt uses overlayfs with JFFS2 as
> the top layer. but I'm just using tmpfs for now. (For some values of
> "serious".)

Why would you want a writable root fs? I mean, a writable /var should
suffice?

> I wanted to make best use of systemd's built-in primitives, so here's what
> I've done:
> 
> - default.target is symlinked to initrd.target in the read-only filesystem
> image

Why bother with an initrd in an embedded device? Can't you just boot
directly into the main image with an initrd-less kernel?

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list