From: Jérémy Rosen Date: Thu, 25 Apr 2019 22:49:57 +0000 (+0200) Subject: Document /etc/initrd-release X-Git-Tag: v243-rc1~520 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6e9d2465923f8b3577cd7cfc7ef886808ded8122;p=thirdparty%2Fsystemd.git 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. --- diff --git a/man/bootup.xml b/man/bootup.xml index 9468a613196..d3715234000 100644 --- a/man/bootup.xml +++ b/man/bootup.xml @@ -156,7 +156,9 @@ using systemd as well. In this case, boot up inside the initrd follows the following structure. - The default target in the initrd is + systemd detects that it is run within an initrd by checking + for the file /etc/initrd-release. + The default target in the initrd is initrd.target. The bootup process begins identical to the system manager bootup (see above) until it reaches basic.target. From there, systemd