Blame 0005-add-documentation-for-systemd-services-in-the-initra.patch

Harald Hoyer 12f6cc
From 13f77e9fd53682202bbd32faf8f9e55e0b99fec2 Mon Sep 17 00:00:00 2001
Harald Hoyer 12f6cc
From: Harald Hoyer <harald@redhat.com>
Harald Hoyer 12f6cc
Date: Mon, 23 Jul 2012 11:10:13 +0200
Harald Hoyer 12f6cc
Subject: [PATCH] add documentation for systemd services in the initramfs
Harald Hoyer 12f6cc
Harald Hoyer 12f6cc
---
Harald Hoyer 12f6cc
 Makefile                                           | 52 +++++++++++++---------
Harald Hoyer 12f6cc
 dracut.spec                                        |  1 +
Harald Hoyer 12f6cc
 modules.d/98systemd/dracut-cmdline.service         |  1 +
Harald Hoyer 12f6cc
 modules.d/98systemd/dracut-cmdline.service.8.asc   | 26 +++++++++++
Harald Hoyer 12f6cc
 modules.d/98systemd/dracut-initqueue.service       |  1 +
Harald Hoyer 12f6cc
 modules.d/98systemd/dracut-initqueue.service.8.asc | 25 +++++++++++
Harald Hoyer 12f6cc
 modules.d/98systemd/dracut-pre-pivot.service       |  1 +
Harald Hoyer 12f6cc
 modules.d/98systemd/dracut-pre-pivot.service.8.asc | 25 +++++++++++
Harald Hoyer 12f6cc
 modules.d/98systemd/dracut-pre-trigger.service     |  1 +
Harald Hoyer 12f6cc
 .../98systemd/dracut-pre-trigger.service.8.asc     | 25 +++++++++++
Harald Hoyer 12f6cc
 modules.d/98systemd/dracut-pre-udev.service        |  1 +
Harald Hoyer 12f6cc
 modules.d/98systemd/dracut-pre-udev.service.8.asc  | 25 +++++++++++
Harald Hoyer 12f6cc
 modules.d/98systemd/initrd-switch-root.service     |  1 +
Harald Hoyer 12f6cc
 .../98systemd/initrd-switch-root.service.8.asc     | 25 +++++++++++
Harald Hoyer 12f6cc
 modules.d/98systemd/udevadm-cleanup-db.service     |  1 +
Harald Hoyer 12f6cc
 .../98systemd/udevadm-cleanup-db.service.8.asc     | 25 +++++++++++
Harald Hoyer 12f6cc
 16 files changed, 215 insertions(+), 21 deletions(-)
Harald Hoyer 12f6cc
 create mode 100644 modules.d/98systemd/dracut-cmdline.service.8.asc
Harald Hoyer 12f6cc
 create mode 100644 modules.d/98systemd/dracut-initqueue.service.8.asc
Harald Hoyer 12f6cc
 create mode 100644 modules.d/98systemd/dracut-pre-pivot.service.8.asc
Harald Hoyer 12f6cc
 create mode 100644 modules.d/98systemd/dracut-pre-trigger.service.8.asc
Harald Hoyer 12f6cc
 create mode 100644 modules.d/98systemd/dracut-pre-udev.service.8.asc
Harald Hoyer 12f6cc
 create mode 100644 modules.d/98systemd/initrd-switch-root.service.8.asc
Harald Hoyer 12f6cc
 create mode 100644 modules.d/98systemd/udevadm-cleanup-db.service.8.asc
Harald Hoyer 12f6cc
Harald Hoyer 12f6cc
diff --git a/Makefile b/Makefile
Harald Hoyer 12f6cc
index 0b29161..548952d 100644
Harald Hoyer 12f6cc
--- a/Makefile
Harald Hoyer 12f6cc
+++ b/Makefile
Harald Hoyer 12f6cc
@@ -9,28 +9,41 @@ sysconfdir ?= ${prefix}/etc
Harald Hoyer 12f6cc
 bindir ?= ${prefix}/bin
Harald Hoyer 12f6cc
 mandir ?= ${prefix}/share/man
Harald Hoyer 12f6cc
 
Harald Hoyer 12f6cc
-manpages = dracut.8 \
Harald Hoyer 12f6cc
-	   dracut.cmdline.7 \
Harald Hoyer 12f6cc
-	   dracut.conf.5 \
Harald Hoyer 12f6cc
-	   dracut-catimages.8 \
Harald Hoyer 12f6cc
-	   lsinitrd.1 \
Harald Hoyer 12f6cc
-	   mkinitrd.8
Harald Hoyer 12f6cc
+man1pages = lsinitrd.1
Harald Hoyer 12f6cc
+
Harald Hoyer 12f6cc
+man5pages = dracut.conf.5
Harald Hoyer 12f6cc
+
Harald Hoyer 12f6cc
+man7pages = dracut.cmdline.7
Harald Hoyer 12f6cc
+
Harald Hoyer 12f6cc
+man8pages = dracut.8 \
Harald Hoyer 12f6cc
+            dracut-catimages.8 \
Harald Hoyer 12f6cc
+            mkinitrd.8 \
Harald Hoyer 12f6cc
+            modules.d/98systemd/dracut-cmdline.service.8 \
Harald Hoyer 12f6cc
+            modules.d/98systemd/dracut-initqueue.service.8 \
Harald Hoyer 12f6cc
+            modules.d/98systemd/dracut-pre-pivot.service.8 \
Harald Hoyer 12f6cc
+            modules.d/98systemd/dracut-pre-trigger.service.8 \
Harald Hoyer 12f6cc
+            modules.d/98systemd/dracut-pre-udev.service.8 \
Harald Hoyer 12f6cc
+            modules.d/98systemd/initrd-switch-root.service.8 \
Harald Hoyer 12f6cc
+            modules.d/98systemd/udevadm-cleanup-db.service.8
Harald Hoyer 12f6cc
+
Harald Hoyer 12f6cc
+manpages = $(man1pages) $(man5pages) $(man7pages) $(man8pages)
Harald Hoyer 12f6cc
+
Harald Hoyer 12f6cc
 
Harald Hoyer 12f6cc
 .PHONY: install clean archive rpm testimage test all check AUTHORS doc
Harald Hoyer 12f6cc
 
Harald Hoyer 12f6cc
 all: syncheck dracut-version.sh dracut-install
Harald Hoyer 12f6cc
 
Harald Hoyer 12f6cc
 DRACUT_INSTALL_SOURCE = \
Harald Hoyer 12f6cc
-	install/dracut-install.c \
Harald Hoyer 12f6cc
-	install/hashmap.c\
Harald Hoyer 12f6cc
-	install/log.c \
Harald Hoyer 12f6cc
-	install/util.c
Harald Hoyer 12f6cc
+        install/dracut-install.c \
Harald Hoyer 12f6cc
+        install/hashmap.c\
Harald Hoyer 12f6cc
+        install/log.c \
Harald Hoyer 12f6cc
+        install/util.c
Harald Hoyer 12f6cc
 
Harald Hoyer 12f6cc
 DRACUT_INSTALL_HEADER = \
Harald Hoyer 12f6cc
-	install/hashmap.h \
Harald Hoyer 12f6cc
-	install/log.h \
Harald Hoyer 12f6cc
-	install/macro.h \
Harald Hoyer 12f6cc
-	install/util.h
Harald Hoyer 12f6cc
+        install/hashmap.h \
Harald Hoyer 12f6cc
+        install/log.h \
Harald Hoyer 12f6cc
+        install/macro.h \
Harald Hoyer 12f6cc
+        install/util.h
Harald Hoyer 12f6cc
 
Harald Hoyer 12f6cc
 dracut-install: $(DRACUT_INSTALL_SOURCE) $(DRACUT_INSTALL_HEADER)
Harald Hoyer 12f6cc
 	gcc -std=gnu99 -O2 -g -Wall -o dracut-install $(DRACUT_INSTALL_SOURCE)
Harald Hoyer 12f6cc
@@ -73,13 +86,10 @@ install: doc dracut-version.sh
Harald Hoyer 12f6cc
 	install -m 0755 dracut-logger.sh $(DESTDIR)$(pkglibdir)/dracut-logger.sh
Harald Hoyer 12f6cc
 	install -m 0755 dracut-initramfs-restore.sh $(DESTDIR)$(pkglibdir)/dracut-initramfs-restore
Harald Hoyer 12f6cc
 	cp -arx modules.d $(DESTDIR)$(pkglibdir)
Harald Hoyer 12f6cc
-	install -m 0644 lsinitrd.1 $(DESTDIR)$(mandir)/man1/lsinitrd.1
Harald Hoyer 12f6cc
-	install -m 0644 mkinitrd.8 $(DESTDIR)$(mandir)/man8/mkinitrd.8
Harald Hoyer 12f6cc
-	install -m 0644 dracut.8 $(DESTDIR)$(mandir)/man8/dracut.8
Harald Hoyer 12f6cc
-	install -m 0644 dracut-catimages.8 \
Harald Hoyer 12f6cc
-                        $(DESTDIR)$(mandir)/man8/dracut-catimages.8
Harald Hoyer 12f6cc
-	install -m 0644 dracut.conf.5 $(DESTDIR)$(mandir)/man5/dracut.conf.5
Harald Hoyer 12f6cc
-	install -m 0644 dracut.cmdline.7 $(DESTDIR)$(mandir)/man7/dracut.cmdline.7
Harald Hoyer 12f6cc
+	for i in $(man1pages); do install -m 0644 $$i $(DESTDIR)$(mandir)/man1/$${i##*/}; done
Harald Hoyer 12f6cc
+	for i in $(man5pages); do install -m 0644 $$i $(DESTDIR)$(mandir)/man5/$${i##*/}; done
Harald Hoyer 12f6cc
+	for i in $(man7pages); do install -m 0644 $$i $(DESTDIR)$(mandir)/man7/$${i##*/}; done
Harald Hoyer 12f6cc
+	for i in $(man8pages); do install -m 0644 $$i $(DESTDIR)$(mandir)/man8/$${i##*/}; done
Harald Hoyer 12f6cc
 	ln -s dracut.cmdline.7 $(DESTDIR)$(mandir)/man7/dracut.kernel.7
Harald Hoyer 12f6cc
 	if [ -n "$(systemdsystemunitdir)" ]; then \
Harald Hoyer 12f6cc
 		mkdir -p $(DESTDIR)$(systemdsystemunitdir); \
Harald Hoyer 12f6cc
diff --git a/dracut.spec b/dracut.spec
Harald Hoyer 12f6cc
index 25e48a2..9a93e57 100644
Harald Hoyer 12f6cc
--- a/dracut.spec
Harald Hoyer 12f6cc
+++ b/dracut.spec
Harald Hoyer 12f6cc
@@ -258,6 +258,7 @@ rm -rf $RPM_BUILD_ROOT
Harald Hoyer 12f6cc
 %endif
Harald Hoyer 12f6cc
 %dir /etc/dracut.conf.d
Harald Hoyer 12f6cc
 %{_mandir}/man8/dracut.8*
Harald Hoyer 12f6cc
+%{_mandir}/man8/*service.8*
Harald Hoyer 12f6cc
 %if 0%{?fedora} > 12 || 0%{?rhel} >= 6 || 0%{?suse_version} > 9999
Harald Hoyer 12f6cc
 %{_mandir}/man8/mkinitrd.8*
Harald Hoyer 12f6cc
 %{_mandir}/man1/lsinitrd.1*
Harald Hoyer 12f6cc
diff --git a/modules.d/98systemd/dracut-cmdline.service b/modules.d/98systemd/dracut-cmdline.service
Harald Hoyer 12f6cc
index 1ed50a9..5073dbd 100644
Harald Hoyer 12f6cc
--- a/modules.d/98systemd/dracut-cmdline.service
Harald Hoyer 12f6cc
+++ b/modules.d/98systemd/dracut-cmdline.service
Harald Hoyer 12f6cc
@@ -9,6 +9,7 @@
Harald Hoyer 12f6cc
 
Harald Hoyer 12f6cc
 [Unit]
Harald Hoyer 12f6cc
 Description=Dracut cmdline hook
Harald Hoyer 12f6cc
+Documentation=man:dracut-cmdline.service(8)
Harald Hoyer 12f6cc
 DefaultDependencies=no
Harald Hoyer 12f6cc
 Before=dracut-pre-udev.service
Harald Hoyer 12f6cc
 After=systemd-journald.socket
Harald Hoyer 12f6cc
diff --git a/modules.d/98systemd/dracut-cmdline.service.8.asc b/modules.d/98systemd/dracut-cmdline.service.8.asc
Harald Hoyer 12f6cc
new file mode 100644
Harald Hoyer 12f6cc
index 0000000..eaed6aa
Harald Hoyer 12f6cc
--- /dev/null
Harald Hoyer 12f6cc
+++ b/modules.d/98systemd/dracut-cmdline.service.8.asc
Harald Hoyer 12f6cc
@@ -0,0 +1,26 @@
Harald Hoyer 12f6cc
+DRACUT-CMDLINE.SERVICE(8)
Harald Hoyer 12f6cc
+=========================
Harald Hoyer 12f6cc
+:doctype: manpage
Harald Hoyer 12f6cc
+:man source:   dracut
Harald Hoyer 12f6cc
+:man manual:   dracut
Harald Hoyer 12f6cc
+
Harald Hoyer 12f6cc
+NAME
Harald Hoyer 12f6cc
+----
Harald Hoyer 12f6cc
+dracut-cmdline.service - runs the dracut hooks to parse the kernel command line
Harald Hoyer 12f6cc
+
Harald Hoyer 12f6cc
+SYNOPSIS
Harald Hoyer 12f6cc
+--------
Harald Hoyer 12f6cc
+dracut-cmdline.service
Harald Hoyer 12f6cc
+
Harald Hoyer 12f6cc
+DESCRIPTION
Harald Hoyer 12f6cc
+-----------
Harald Hoyer 12f6cc
+This service runs all the dracut hooks to parse the kernel command line in
Harald Hoyer 12f6cc
+the initramfs.
Harald Hoyer 12f6cc
+
Harald Hoyer 12f6cc
+AUTHORS
Harald Hoyer 12f6cc
+-------
Harald Hoyer 12f6cc
+Harald Hoyer
Harald Hoyer 12f6cc
+
Harald Hoyer 12f6cc
+SEE ALSO
Harald Hoyer 12f6cc
+--------
Harald Hoyer 12f6cc
+*dracut*(8)
Harald Hoyer 12f6cc
diff --git a/modules.d/98systemd/dracut-initqueue.service b/modules.d/98systemd/dracut-initqueue.service
Harald Hoyer 12f6cc
index e611e93..f43aa21 100644
Harald Hoyer 12f6cc
--- a/modules.d/98systemd/dracut-initqueue.service
Harald Hoyer 12f6cc
+++ b/modules.d/98systemd/dracut-initqueue.service
Harald Hoyer 12f6cc
@@ -9,6 +9,7 @@
Harald Hoyer 12f6cc
 
Harald Hoyer 12f6cc
 [Unit]
Harald Hoyer 12f6cc
 Description=Dracut initqueue hook
Harald Hoyer 12f6cc
+Documentation=man:dracut-initqueue.service(8)
Harald Hoyer 12f6cc
 DefaultDependencies=no
Harald Hoyer 12f6cc
 After=systemd-udev-trigger.service
Harald Hoyer 12f6cc
 Wants=systemd-udev-trigger.service
Harald Hoyer 12f6cc
diff --git a/modules.d/98systemd/dracut-initqueue.service.8.asc b/modules.d/98systemd/dracut-initqueue.service.8.asc
Harald Hoyer 12f6cc
new file mode 100644
Harald Hoyer 12f6cc
index 0000000..d405d04
Harald Hoyer 12f6cc
--- /dev/null
Harald Hoyer 12f6cc
+++ b/modules.d/98systemd/dracut-initqueue.service.8.asc
Harald Hoyer 12f6cc
@@ -0,0 +1,25 @@
Harald Hoyer 12f6cc
+DRACUT-INITQUEUE.SERVICE(8)
Harald Hoyer 12f6cc
+===========================
Harald Hoyer 12f6cc
+:doctype: manpage
Harald Hoyer 12f6cc
+:man source:   dracut
Harald Hoyer 12f6cc
+:man manual:   dracut
Harald Hoyer 12f6cc
+
Harald Hoyer 12f6cc
+NAME
Harald Hoyer 12f6cc
+----
Harald Hoyer 12f6cc
+dracut-initqueue.service - runs the dracut main loop to find the real root
Harald Hoyer 12f6cc
+
Harald Hoyer 12f6cc
+SYNOPSIS
Harald Hoyer 12f6cc
+--------
Harald Hoyer 12f6cc
+dracut-initqueue.service
Harald Hoyer 12f6cc
+
Harald Hoyer 12f6cc
+DESCRIPTION
Harald Hoyer 12f6cc
+-----------
Harald Hoyer 12f6cc
+This service runs all the main loop of dracut in the initramfs to find the real root.
Harald Hoyer 12f6cc
+
Harald Hoyer 12f6cc
+AUTHORS
Harald Hoyer 12f6cc
+-------
Harald Hoyer 12f6cc
+Harald Hoyer
Harald Hoyer 12f6cc
+
Harald Hoyer 12f6cc
+SEE ALSO
Harald Hoyer 12f6cc
+--------
Harald Hoyer 12f6cc
+*dracut*(8)
Harald Hoyer 12f6cc
diff --git a/modules.d/98systemd/dracut-pre-pivot.service b/modules.d/98systemd/dracut-pre-pivot.service
Harald Hoyer 12f6cc
index 317b476..25ef697 100644
Harald Hoyer 12f6cc
--- a/modules.d/98systemd/dracut-pre-pivot.service
Harald Hoyer 12f6cc
+++ b/modules.d/98systemd/dracut-pre-pivot.service
Harald Hoyer 12f6cc
@@ -9,6 +9,7 @@
Harald Hoyer 12f6cc
 
Harald Hoyer 12f6cc
 [Unit]
Harald Hoyer 12f6cc
 Description=Dracut pre-pivot and cleanup hook
Harald Hoyer 12f6cc
+Documentation=man:dracut-pre-pivot.service(8)
Harald Hoyer 12f6cc
 DefaultDependencies=no
Harald Hoyer 12f6cc
 After=dracut-initqueue.service
Harald Hoyer 12f6cc
 ConditionPathExists=/etc/initrd-release
Harald Hoyer 12f6cc
diff --git a/modules.d/98systemd/dracut-pre-pivot.service.8.asc b/modules.d/98systemd/dracut-pre-pivot.service.8.asc
Harald Hoyer 12f6cc
new file mode 100644
Harald Hoyer 12f6cc
index 0000000..2e19a6e
Harald Hoyer 12f6cc
--- /dev/null
Harald Hoyer 12f6cc
+++ b/modules.d/98systemd/dracut-pre-pivot.service.8.asc
Harald Hoyer 12f6cc
@@ -0,0 +1,25 @@
Harald Hoyer 12f6cc
+DRACUT-PRE-PIVOT.SERVICE(8)
Harald Hoyer 12f6cc
+===========================
Harald Hoyer 12f6cc
+:doctype: manpage
Harald Hoyer 12f6cc
+:man source:   dracut
Harald Hoyer 12f6cc
+:man manual:   dracut
Harald Hoyer 12f6cc
+
Harald Hoyer 12f6cc
+NAME
Harald Hoyer 12f6cc
+----
Harald Hoyer 12f6cc
+dracut-pre-pivot.service - runs the dracut hooks before switching root
Harald Hoyer 12f6cc
+
Harald Hoyer 12f6cc
+SYNOPSIS
Harald Hoyer 12f6cc
+--------
Harald Hoyer 12f6cc
+dracut-pre-pivot.service
Harald Hoyer 12f6cc
+
Harald Hoyer 12f6cc
+DESCRIPTION
Harald Hoyer 12f6cc
+-----------
Harald Hoyer 12f6cc
+This service runs all dracut hooks before the system switched to the real root.
Harald Hoyer 12f6cc
+
Harald Hoyer 12f6cc
+AUTHORS
Harald Hoyer 12f6cc
+-------
Harald Hoyer 12f6cc
+Harald Hoyer
Harald Hoyer 12f6cc
+
Harald Hoyer 12f6cc
+SEE ALSO
Harald Hoyer 12f6cc
+--------
Harald Hoyer 12f6cc
+*dracut*(8)
Harald Hoyer 12f6cc
diff --git a/modules.d/98systemd/dracut-pre-trigger.service b/modules.d/98systemd/dracut-pre-trigger.service
Harald Hoyer 12f6cc
index b2dcf68..468249b 100644
Harald Hoyer 12f6cc
--- a/modules.d/98systemd/dracut-pre-trigger.service
Harald Hoyer 12f6cc
+++ b/modules.d/98systemd/dracut-pre-trigger.service
Harald Hoyer 12f6cc
@@ -9,6 +9,7 @@
Harald Hoyer 12f6cc
 
Harald Hoyer 12f6cc
 [Unit]
Harald Hoyer 12f6cc
 Description=Dracut pre-trigger hook
Harald Hoyer 12f6cc
+Documentation=man:dracut-pre-trigger.service(8)
Harald Hoyer 12f6cc
 DefaultDependencies=no
Harald Hoyer 12f6cc
 Before=systemd-udev-trigger.service dracut-initqueue.service
Harald Hoyer 12f6cc
 After=dracut-pre-udev.service systemd-udevd.service
Harald Hoyer 12f6cc
diff --git a/modules.d/98systemd/dracut-pre-trigger.service.8.asc b/modules.d/98systemd/dracut-pre-trigger.service.8.asc
Harald Hoyer 12f6cc
new file mode 100644
Harald Hoyer 12f6cc
index 0000000..7a856a9
Harald Hoyer 12f6cc
--- /dev/null
Harald Hoyer 12f6cc
+++ b/modules.d/98systemd/dracut-pre-trigger.service.8.asc
Harald Hoyer 12f6cc
@@ -0,0 +1,25 @@
Harald Hoyer 12f6cc
+DRACUT-PRE-TRIGGER.SERVICE(8)
Harald Hoyer 12f6cc
+=============================
Harald Hoyer 12f6cc
+:doctype: manpage
Harald Hoyer 12f6cc
+:man source:   dracut
Harald Hoyer 12f6cc
+:man manual:   dracut
Harald Hoyer 12f6cc
+
Harald Hoyer 12f6cc
+NAME
Harald Hoyer 12f6cc
+----
Harald Hoyer 12f6cc
+dracut-pre-trigger.service - runs the dracut hooks before udevd is triggered
Harald Hoyer 12f6cc
+
Harald Hoyer 12f6cc
+SYNOPSIS
Harald Hoyer 12f6cc
+--------
Harald Hoyer 12f6cc
+dracut-pre-trigger.service
Harald Hoyer 12f6cc
+
Harald Hoyer 12f6cc
+DESCRIPTION
Harald Hoyer 12f6cc
+-----------
Harald Hoyer 12f6cc
+This service runs all dracut hooks before udevd is triggered in the initramfs.
Harald Hoyer 12f6cc
+
Harald Hoyer 12f6cc
+AUTHORS
Harald Hoyer 12f6cc
+-------
Harald Hoyer 12f6cc
+Harald Hoyer
Harald Hoyer 12f6cc
+
Harald Hoyer 12f6cc
+SEE ALSO
Harald Hoyer 12f6cc
+--------
Harald Hoyer 12f6cc
+*dracut*(8)
Harald Hoyer 12f6cc
diff --git a/modules.d/98systemd/dracut-pre-udev.service b/modules.d/98systemd/dracut-pre-udev.service
Harald Hoyer 12f6cc
index cc14f88..bedcf84 100644
Harald Hoyer 12f6cc
--- a/modules.d/98systemd/dracut-pre-udev.service
Harald Hoyer 12f6cc
+++ b/modules.d/98systemd/dracut-pre-udev.service
Harald Hoyer 12f6cc
@@ -9,6 +9,7 @@
Harald Hoyer 12f6cc
 
Harald Hoyer 12f6cc
 [Unit]
Harald Hoyer 12f6cc
 Description=Dracut pre-udev hook
Harald Hoyer 12f6cc
+Documentation=man:dracut-pre-udev.service(8)
Harald Hoyer 12f6cc
 DefaultDependencies=no
Harald Hoyer 12f6cc
 Before=systemd-udevd.service dracut-pre-trigger.service
Harald Hoyer 12f6cc
 After=dracut-cmdline.service
Harald Hoyer 12f6cc
diff --git a/modules.d/98systemd/dracut-pre-udev.service.8.asc b/modules.d/98systemd/dracut-pre-udev.service.8.asc
Harald Hoyer 12f6cc
new file mode 100644
Harald Hoyer 12f6cc
index 0000000..2126d46
Harald Hoyer 12f6cc
--- /dev/null
Harald Hoyer 12f6cc
+++ b/modules.d/98systemd/dracut-pre-udev.service.8.asc
Harald Hoyer 12f6cc
@@ -0,0 +1,25 @@
Harald Hoyer 12f6cc
+DRACUT-PRE-UDEV.SERVICE(8)
Harald Hoyer 12f6cc
+==========================
Harald Hoyer 12f6cc
+:doctype: manpage
Harald Hoyer 12f6cc
+:man source:   dracut
Harald Hoyer 12f6cc
+:man manual:   dracut
Harald Hoyer 12f6cc
+
Harald Hoyer 12f6cc
+NAME
Harald Hoyer 12f6cc
+----
Harald Hoyer 12f6cc
+dracut-pre-udev.service - runs the dracut hooks before udevd is started
Harald Hoyer 12f6cc
+
Harald Hoyer 12f6cc
+SYNOPSIS
Harald Hoyer 12f6cc
+--------
Harald Hoyer 12f6cc
+dracut-pre-udev.service
Harald Hoyer 12f6cc
+
Harald Hoyer 12f6cc
+DESCRIPTION
Harald Hoyer 12f6cc
+-----------
Harald Hoyer 12f6cc
+This service runs all dracut hooks before udevd is started in the initramfs.
Harald Hoyer 12f6cc
+
Harald Hoyer 12f6cc
+AUTHORS
Harald Hoyer 12f6cc
+-------
Harald Hoyer 12f6cc
+Harald Hoyer
Harald Hoyer 12f6cc
+
Harald Hoyer 12f6cc
+SEE ALSO
Harald Hoyer 12f6cc
+--------
Harald Hoyer 12f6cc
+*dracut*(8)
Harald Hoyer 12f6cc
diff --git a/modules.d/98systemd/initrd-switch-root.service b/modules.d/98systemd/initrd-switch-root.service
Harald Hoyer 12f6cc
index b443eab..bd9fb31 100644
Harald Hoyer 12f6cc
--- a/modules.d/98systemd/initrd-switch-root.service
Harald Hoyer 12f6cc
+++ b/modules.d/98systemd/initrd-switch-root.service
Harald Hoyer 12f6cc
@@ -7,6 +7,7 @@
Harald Hoyer 12f6cc
 
Harald Hoyer 12f6cc
 [Unit]
Harald Hoyer 12f6cc
 Description=Switch Root
Harald Hoyer 12f6cc
+Documentation=man:initrd-switch-root.service(8)
Harald Hoyer 12f6cc
 DefaultDependencies=no
Harald Hoyer 12f6cc
 ConditionPathExists=/etc/initrd-release
Harald Hoyer 12f6cc
 OnFailure=emergency.service
Harald Hoyer 12f6cc
diff --git a/modules.d/98systemd/initrd-switch-root.service.8.asc b/modules.d/98systemd/initrd-switch-root.service.8.asc
Harald Hoyer 12f6cc
new file mode 100644
Harald Hoyer 12f6cc
index 0000000..73d5c91
Harald Hoyer 12f6cc
--- /dev/null
Harald Hoyer 12f6cc
+++ b/modules.d/98systemd/initrd-switch-root.service.8.asc
Harald Hoyer 12f6cc
@@ -0,0 +1,25 @@
Harald Hoyer 12f6cc
+INITRD-SWITCH-ROOT.SERVICE(8)
Harald Hoyer 12f6cc
+=============================
Harald Hoyer 12f6cc
+:doctype: manpage
Harald Hoyer 12f6cc
+:man source:   dracut
Harald Hoyer 12f6cc
+:man manual:   dracut
Harald Hoyer 12f6cc
+
Harald Hoyer 12f6cc
+NAME
Harald Hoyer 12f6cc
+----
Harald Hoyer 12f6cc
+initrd-switch-root.service - switches root to the real root
Harald Hoyer 12f6cc
+
Harald Hoyer 12f6cc
+SYNOPSIS
Harald Hoyer 12f6cc
+--------
Harald Hoyer 12f6cc
+initrd-switch-root.service
Harald Hoyer 12f6cc
+
Harald Hoyer 12f6cc
+DESCRIPTION
Harald Hoyer 12f6cc
+-----------
Harald Hoyer 12f6cc
+This service triggers systemd to switch root from the initramfs to the real root.
Harald Hoyer 12f6cc
+
Harald Hoyer 12f6cc
+AUTHORS
Harald Hoyer 12f6cc
+-------
Harald Hoyer 12f6cc
+Harald Hoyer
Harald Hoyer 12f6cc
+
Harald Hoyer 12f6cc
+SEE ALSO
Harald Hoyer 12f6cc
+--------
Harald Hoyer 12f6cc
+*dracut*(8)
Harald Hoyer 12f6cc
diff --git a/modules.d/98systemd/udevadm-cleanup-db.service b/modules.d/98systemd/udevadm-cleanup-db.service
Harald Hoyer 12f6cc
index 7e47946..fba032a 100644
Harald Hoyer 12f6cc
--- a/modules.d/98systemd/udevadm-cleanup-db.service
Harald Hoyer 12f6cc
+++ b/modules.d/98systemd/udevadm-cleanup-db.service
Harald Hoyer 12f6cc
@@ -7,6 +7,7 @@
Harald Hoyer 12f6cc
 
Harald Hoyer 12f6cc
 [Unit]
Harald Hoyer 12f6cc
 Description=Cleanup udevd DB
Harald Hoyer 12f6cc
+Documentation=man:udevadm-cleanup-db.service(8)
Harald Hoyer 12f6cc
 DefaultDependencies=no
Harald Hoyer 12f6cc
 ConditionPathExists=/etc/initrd-release
Harald Hoyer 12f6cc
 Conflicts=systemd-udevd.service systemd-udevd-control.socket systemd-udevd-kernel.socket
Harald Hoyer 12f6cc
diff --git a/modules.d/98systemd/udevadm-cleanup-db.service.8.asc b/modules.d/98systemd/udevadm-cleanup-db.service.8.asc
Harald Hoyer 12f6cc
new file mode 100644
Harald Hoyer 12f6cc
index 0000000..7837127
Harald Hoyer 12f6cc
--- /dev/null
Harald Hoyer 12f6cc
+++ b/modules.d/98systemd/udevadm-cleanup-db.service.8.asc
Harald Hoyer 12f6cc
@@ -0,0 +1,25 @@
Harald Hoyer 12f6cc
+UDEVADM-CLEANUP-DB.SERVICE(8)
Harald Hoyer 12f6cc
+=============================
Harald Hoyer 12f6cc
+:doctype: manpage
Harald Hoyer 12f6cc
+:man source:   dracut
Harald Hoyer 12f6cc
+:man manual:   dracut
Harald Hoyer 12f6cc
+
Harald Hoyer 12f6cc
+NAME
Harald Hoyer 12f6cc
+----
Harald Hoyer 12f6cc
+udevadm-cleanup-db.service - clean up the udev database
Harald Hoyer 12f6cc
+
Harald Hoyer 12f6cc
+SYNOPSIS
Harald Hoyer 12f6cc
+--------
Harald Hoyer 12f6cc
+udevadm-cleanup-db.service
Harald Hoyer 12f6cc
+
Harald Hoyer 12f6cc
+DESCRIPTION
Harald Hoyer 12f6cc
+-----------
Harald Hoyer 12f6cc
+Cleans up the udev database for later import in the real root by calling "udevadm info --cleanup-db".
Harald Hoyer 12f6cc
+
Harald Hoyer 12f6cc
+AUTHORS
Harald Hoyer 12f6cc
+-------
Harald Hoyer 12f6cc
+Harald Hoyer
Harald Hoyer 12f6cc
+
Harald Hoyer 12f6cc
+SEE ALSO
Harald Hoyer 12f6cc
+--------
Harald Hoyer 12f6cc
+*dracut*(8)