udev-rules: add 60-block.rules
[dracut.git] / dracut.bootup.7.asc
blobd7edc1e7664e82da16d747df253da22a2835e03c
1 DRACUT.BOOTUP(7)
2 ================
3 :doctype: manpage
4 :man source:   dracut
5 :man manual:   dracut
7 NAME
8 ----
9 dracut.bootup - boot ordering in the initramfs
11 DESCRIPTION
12 -----------
14 This flow chart illustrates the ordering of the services, if systemd is used in
15 the dracut initramfs.
16 ----
18                                     systemd-journal.socket
19                                                |
20                                                v
21                                     dracut-cmdline.service
22                                                |
23                                                v
24                                     dracut-pre-udev.service
25                                                |
26                                                v
27                                      systemd-udevd.service
28                                                |
29                                                v
30 local-fs-pre.target                dracut-pre-trigger.service
31          |                                     |
32          v                                     v
33  (various mounts)  (various swap  systemd-udev-trigger.service
34          |           devices...)               |             (various low-level   (various low-level
35          |               |                     |             services: seed,       API VFS mounts:
36          v               v                     v             tmpfiles, random     mqueue, configfs,
37   local-fs.target   swap.target     dracut-initqueue.service    sysctl, ...)        debugfs, ...)
38          |               |                     |                    |                    |
39          \_______________|____________________ | ___________________|____________________/
40                                               \|/
41                                                v
42                                         sysinit.target
43                                                |
44                              _________________/|\___________________
45                             /                  |                    \
46                             |                  |                    |
47                             v                  |                    v
48                         (various               |              rescue.service
49                        sockets...)             |                    |
50                             |                  |                    v
51                             v                  |              rescue.target
52                      sockets.target            |
53                             |                  |
54                             \_________________ |                                 emergency.service
55                                               \|                                         |
56                                                v                                         v
57                                          basic.target                             emergency.target
58                                                |
59                         ______________________/|
60                        /                       |
61                        |                       v
62                        |            dracut-pre-mount.service
63                        |                       |
64                        |                       v
65                        |                  sysroot.mount
66                        |                       |
67                        |                       v
68                        |             initrd-root-fs.target
69            (custom initrd services)            |
70                        |                       v
71                        |             dracut-mount.service
72                        |                       |
73                        |                       v
74                        |            initrd-parse-etc.service
75                        |                       |
76                        |                       v
77                        |            (sysroot-usr.mount and
78                        |             various mounts marked
79                        |               with fstab option
80                        |                x-initrd.mount)
81                        |                       |
82                        |                       v
83                        |                initrd-fs.target
84                        \______________________ |
85                                               \|
86                                                v
87                                           initrd.target
88                                                |
89                                                v
90                                     dracut-pre-pivot.service
91                                                |
92                                                v
93                                      initrd-cleanup.service
94                                           isolates to
95                                     initrd-switch-root.target
96                                                |
97                                                v
98                         ______________________/|
99                        /                       |
100                        |        initrd-udevadm-cleanup-db.service
101                        |                       |
102            (custom initrd services)            |
103                        |                       |
104                        \______________________ |
105                                               \|
106                                                v
107                                    initrd-switch-root.target
108                                                |
109                                                v
110                                    initrd-switch-root.service
111                                                |
112                                                v
113                                           switch-root
114 ----
117 AUTHOR
118 ------
119 Harald Hoyer
121 SEE ALSO
122 --------
123 *dracut*(8) *bootup*(7)