From 700e07ffd53083114e91bb4ba646ed26d0463f67 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Mon, 4 Mar 2013 19:01:05 +0100 Subject: add initrd-fs.target and root-fs.target Instead of using local-fs*.target in the initrd, use root-fs.target for sysroot.mount and initrd-fs.target for /sysroot/usr and friends. Using local-fs.target would mean to carry over the activated local-fs.target to the isolated initrd-switch-root.target and thus in the real root. Having local-fs.target already active after deserialization causes ordering problems with the real root services and targets. We better isolate to targets for initrd-switch-root.target, which are only available in the initrd. --- man/systemd.special.xml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'man/systemd.special.xml') diff --git a/man/systemd.special.xml b/man/systemd.special.xml index 0d1df8475a..7b780998fd 100644 --- a/man/systemd.special.xml +++ b/man/systemd.special.xml @@ -64,6 +64,7 @@ halt.target, hibernate.target, hybrid-sleep.target, + initrd-fs.target, kbrequest.target, kexec.target, local-fs.target, @@ -78,6 +79,7 @@ remote-fs.target, remote-fs-pre.target, rescue.target, + root-fs.target, rpcbind.target, runlevel2.target, runlevel3.target, @@ -295,6 +297,22 @@ this unit. + + initrd-fs.target + + systemd automatically + adds dependencies of type + Before to sysroot-usr.mount and + all mount points fround in + /etc/fstab + that have the + and + + mount options set. + See also systemd-fstab-generator. + + + kbrequest.target @@ -504,6 +522,17 @@ unit, for compatibility with SysV. + + root-fs.target + + systemd automatically + adds dependencies of type + Before to the sysroot.mount unit, + which is generated from the kernel command + line by the systemd-fstab-generator. + + + rpcbind.target @@ -760,6 +789,7 @@ systemd.socket5, systemd.target5, bootup7 + systemd-fstab-generator8 -- cgit v1.2.3-54-g00ecf