1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-10 01:17:44 +03:00

man: make bootup charts narrower

docbook already indents diagrams, so there is no need to leave whitespace on
the left. Also, make the charts a bit narrower to fit better on a terminal.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2022-07-15 09:04:41 +02:00
parent 8e34fdbd91
commit 6ce4de290f

View File

@ -174,30 +174,30 @@ emergency.service | | |
available to the user.</para> available to the user.</para>
<programlisting> <programlisting>
(various (various (various (various (various (various
timers...) paths...) sockets...) (sound devices) timers...) paths...) sockets...) (sound devices)
| | | | | | | |
v v v v v v v v
timers.target paths.target sockets.target sound.target timers.target paths.target sockets.target sound.target
| | | | | |
\______________ _|_________________/ (bluetooth devices) \______________ _|_________________/ (bluetooth devices)
\ / | \ / |
V v V v
basic.target bluetooth.target basic.target bluetooth.target
| |
__________/ \_______ (smartcard devices) __________/ \_______ (smartcard devices)
/ \ | / \ |
| | v | | v
| v smartcard.target | v smartcard.target
v graphical-session-pre.target v graphical-session-pre.target
(various user services) | (printers) (various user services) | (printers)
| v | | v |
| (services for the graphical session) v | (services for the graphical session) v
| | printer.target | | printer.target
v v v v
<emphasis>default.target</emphasis> graphical-session.target</programlisting> <emphasis>default.target</emphasis> graphical-session.target</programlisting>
</refsect1> </refsect1>
<refsect1> <refsect1>
<title>Bootup in the Initial RAM Disk (initrd)</title> <title>Bootup in the Initial RAM Disk (initrd)</title>
@ -239,59 +239,59 @@ emergency.service | | |
<filename>/sysroot</filename>. <filename>/sysroot</filename>.
</para> </para>
<programlisting> : (beginning identical to above) <programlisting> : (beginning identical to above)
: :
v v
basic.target basic.target
| emergency.service | emergency.service
______________________/| | ______________________/| |
/ | v / | v
| initrd-root-device.target <emphasis>emergency.target</emphasis> | initrd-root-device.target <emphasis>emergency.target</emphasis>
| | | |
| v | v
| sysroot.mount | sysroot.mount
| | | |
| v | v
| initrd-root-fs.target | initrd-root-fs.target
| | | |
| v | v
v initrd-parse-etc.service v initrd-parse-etc.service
(custom initrd | (custom initrd |
services...) v services...) v
| (sysroot-usr.mount and | (sysroot-usr.mount and
| various mounts marked | various mounts marked
| with fstab option | with fstab option
| x-initrd.mount...) | x-initrd.mount...)
| | | |
| v | v
| initrd-fs.target | initrd-fs.target
\______________________ | \______________________ |
\| \|
v v
initrd.target initrd.target
| |
v v
initrd-cleanup.service initrd-cleanup.service
isolates to isolates to
initrd-switch-root.target initrd-switch-root.target
| |
v v
______________________/| ______________________/|
/ v / v
| initrd-udevadm-cleanup-db.service | initrd-udevadm-cleanup-db.service
v | v |
(custom initrd | (custom initrd |
services...) | services...) |
\______________________ | \______________________ |
\| \|
v v
initrd-switch-root.target initrd-switch-root.target
| |
v v
initrd-switch-root.service initrd-switch-root.service
| |
v v
Transition to Host OS</programlisting> Transition to Host OS</programlisting>
</refsect1> </refsect1>
<refsect1> <refsect1>
@ -300,33 +300,40 @@ emergency.service | | |
<para>System shutdown with systemd also consists of various target <para>System shutdown with systemd also consists of various target
units with some minimal ordering structure applied:</para> units with some minimal ordering structure applied:</para>
<programlisting> (conflicts with (conflicts with <programlisting> (conflicts with (conflicts with
all system all file system all system all file system
services) mounts, swaps, services) mounts, swaps,
| cryptsetup/ | cryptsetup/
| veritysetup | veritysetup
| devices, ...) | devices, ...)
| | | |
v v v v
shutdown.target umount.target shutdown.target umount.target
| | | |
\_______ ______/ \_______ ______/
\ / \ /
v v
(various low-level (various low-level
services) services)
| |
v v
final.target final.target
| |
_____________________________________/ \_________________________________ ___________________________/ \_________________
/ | | \ / | | \
| | | | | | | |
v v v v v | | |
systemd-reboot.service systemd-poweroff.service systemd-halt.service systemd-kexec.service systemd-reboot.service | | |
| | | | | v | |
v v v v | systemd-poweroff.service | |
<emphasis>reboot.target</emphasis> <emphasis>poweroff.target</emphasis> <emphasis>halt.target</emphasis> <emphasis>kexec.target</emphasis></programlisting> v | v |
<emphasis>reboot.target</emphasis> | systemd-halt.service |
v | v
<emphasis>poweroff.target</emphasis> | systemd-kexec.service
v |
<emphasis>halt.target</emphasis> |
v
<emphasis>kexec.target</emphasis></programlisting>
<para>Commonly used system shutdown targets are <emphasis>emphasized</emphasis>.</para> <para>Commonly used system shutdown targets are <emphasis>emphasized</emphasis>.</para>