Document /etc/initrd-release

When systemd is started, it detects initrd by checking for that file
The usage of that file is not documented anywhere, so mention it early
in the most relevant man-page I could find.
This commit is contained in:
Jérémy Rosen 2019-04-26 00:49:57 +02:00 committed by Zbigniew Jędrzejewski-Szmek
parent bf0e551c17
commit 6e9d246592
1 changed files with 3 additions and 1 deletions

View File

@ -156,7 +156,9 @@
using systemd as well. In this case, boot up inside the initrd
follows the following structure.</para>
<para>The default target in the initrd is
<para>systemd detects that it is run within an initrd by checking
for the file <filename>/etc/initrd-release</filename>.
The default target in the initrd is
<filename>initrd.target</filename>. The bootup process begins
identical to the system manager bootup (see above) until it
reaches <filename>basic.target</filename>. From there, systemd