summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/mdevd.html8
-rw-r--r--examples/s6-rc/mdevd-netlink/dependencies1
-rw-r--r--examples/s6-rc/mdevd-netlink/pipeline-name1
-rw-r--r--examples/s6-rc/mdevd-netlink/producer-for1
-rw-r--r--examples/s6-rc/mdevd-netlink/run3
-rw-r--r--examples/s6-rc/mdevd-netlink/type1
-rw-r--r--examples/s6-rc/mdevd/consumer-for1
-rw-r--r--examples/s6-rc/mdevd/notification-fd (renamed from examples/s6-rc/mdevd-netlink/notification-fd)0
-rw-r--r--examples/s6-rc/mdevd/run2
-rwxr-xr-xexamples/s6/mdevd/log/run2
-rwxr-xr-xexamples/s6/mdevd/run2
11 files changed, 9 insertions, 13 deletions
diff --git a/doc/mdevd.html b/doc/mdevd.html
index f5ae5ee..55d1456 100644
--- a/doc/mdevd.html
+++ b/doc/mdevd.html
@@ -128,7 +128,13 @@ nothing else.
<ul>
<li> The <tt>examples/</tt> subdirectory of the mdevd package contains
-examples on how to run mdevd under various init systems / supervisors. </li>
+examples on how to run mdevd under various init systems / supervisors. These
+examples do not show how to run mdevd as a logged service, because mdevd
+should normally be run early in the system's boot up sequence, before
+mounting the disks - so the presence of a mounted partition suitable for
+logging is not guaranteed. In normal use, mdevd is quite terse, so it
+runs smoothly without a dedicated logger, with its error messages
+going to the catch-all logger. </li>
</ul>
</body>
diff --git a/examples/s6-rc/mdevd-netlink/dependencies b/examples/s6-rc/mdevd-netlink/dependencies
deleted file mode 100644
index 8b13789..0000000
--- a/examples/s6-rc/mdevd-netlink/dependencies
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/examples/s6-rc/mdevd-netlink/pipeline-name b/examples/s6-rc/mdevd-netlink/pipeline-name
deleted file mode 100644
index 0d284a9..0000000
--- a/examples/s6-rc/mdevd-netlink/pipeline-name
+++ /dev/null
@@ -1 +0,0 @@
-mdevd-pipeline
diff --git a/examples/s6-rc/mdevd-netlink/producer-for b/examples/s6-rc/mdevd-netlink/producer-for
deleted file mode 100644
index 3252ded..0000000
--- a/examples/s6-rc/mdevd-netlink/producer-for
+++ /dev/null
@@ -1 +0,0 @@
-mdevd
diff --git a/examples/s6-rc/mdevd-netlink/run b/examples/s6-rc/mdevd-netlink/run
deleted file mode 100644
index c2a7b18..0000000
--- a/examples/s6-rc/mdevd-netlink/run
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/execlineb -P
-exec -c
-mdevd-netlink -d 3
diff --git a/examples/s6-rc/mdevd-netlink/type b/examples/s6-rc/mdevd-netlink/type
deleted file mode 100644
index 5883cff..0000000
--- a/examples/s6-rc/mdevd-netlink/type
+++ /dev/null
@@ -1 +0,0 @@
-longrun
diff --git a/examples/s6-rc/mdevd/consumer-for b/examples/s6-rc/mdevd/consumer-for
deleted file mode 100644
index ca025df..0000000
--- a/examples/s6-rc/mdevd/consumer-for
+++ /dev/null
@@ -1 +0,0 @@
-mdevd-netlink
diff --git a/examples/s6-rc/mdevd-netlink/notification-fd b/examples/s6-rc/mdevd/notification-fd
index 00750ed..00750ed 100644
--- a/examples/s6-rc/mdevd-netlink/notification-fd
+++ b/examples/s6-rc/mdevd/notification-fd
diff --git a/examples/s6-rc/mdevd/run b/examples/s6-rc/mdevd/run
index 3252ded..aa8db86 100644
--- a/examples/s6-rc/mdevd/run
+++ b/examples/s6-rc/mdevd/run
@@ -1 +1 @@
-mdevd
+mdevd -D 3
diff --git a/examples/s6/mdevd/log/run b/examples/s6/mdevd/log/run
deleted file mode 100755
index f3d5913..0000000
--- a/examples/s6/mdevd/log/run
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/execlineb -P
-mdevd
diff --git a/examples/s6/mdevd/run b/examples/s6/mdevd/run
index c2a7b18..3b16054 100755
--- a/examples/s6/mdevd/run
+++ b/examples/s6/mdevd/run
@@ -1,3 +1,3 @@
#!/bin/execlineb -P
exec -c
-mdevd-netlink -d 3
+mdevd -D 3