[systemd-devel] early mounts in systemd
Silvio Knizek
killermoehre at gmx.net
Fri Apr 30 16:23:24 UTC 2021
Am Freitag, dem 30.04.2021 um 10:39 -0400 schrieb Rick Winscot:
> My question for anyone on the list, is the method outlined below a
> reasonable solution to mounting /var early in the start-up cycle?
>
> Or... is there a better way? Some trimming
>
Hi Rick,
by definition if you need to mount /var (or /usr for this argument),
you need an initrd [1] which actually set up everything as you
requires. Anything else has a tendency to break in unpleasant ways due
to race conditions and such. You don't need much, just enough to set up
everything required for the root and API file systems.
BR
Silvio
[1] https://systemd.io/INITRD_INTERFACE/
More information about the systemd-devel
mailing list