From 32759d402e7327865ea18a203bd1c09f98735bd1 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sun, 22 Oct 2017 17:09:25 +0000 Subject: Initial commit --- doc/index.html | 115 ++++++++++++++++++++++++++++++++++++++++++ doc/mdevd-coldplug.html | 74 +++++++++++++++++++++++++++ doc/mdevd-netlink.html | 123 +++++++++++++++++++++++++++++++++++++++++++++ doc/mdevd.html | 130 ++++++++++++++++++++++++++++++++++++++++++++++++ doc/upgrade.html | 28 +++++++++++ 5 files changed, 470 insertions(+) create mode 100644 doc/index.html create mode 100644 doc/mdevd-coldplug.html create mode 100644 doc/mdevd-netlink.html create mode 100644 doc/mdevd.html create mode 100644 doc/upgrade.html (limited to 'doc') diff --git a/doc/index.html b/doc/index.html new file mode 100644 index 0000000..91c01d3 --- /dev/null +++ b/doc/index.html @@ -0,0 +1,115 @@ + + + + + + mdevd - A mdev-compatible Linux hotplug manager daemon + + + + + + +

+Software
+skarnet.org +

+ +

mdevd

+ +

What is it ?

+ +

+ mdevd is a small daemon managing kernel hotplug events, similarly to udevd. +

+ +

+ It uses the same configuration file as +mdev, +which is a hotplug manager integrated in the +Busybox suite of tools. +However, mdev needs to be registered in +/proc/sys/kernel/hotplug, and the kernel forks +an instance of mdev for every event; by contrast, mdevd is a daemon +and does not fork. +

+ +

+ The point of mdevd is to provide a drop-in replacement to mdev +that does not fork, so it can handle large influxes of events +at boot time without a performance drop. mdevd is designed to be +entirely compatible with advanced mdev usage such as +mdev-like-a-boss. +

+ +
+ +

Installation

+ +

Requirements

+ + + +

Licensing

+ +

+ mdevd is free software. It is available under the +ISC license. +

+ +

Download

+ + + +

Compilation

+ + + +

Upgrade notes

+ + + +
+ +

Reference

+ +

Commands

+ + + +

Related resources

+ + + + + diff --git a/doc/mdevd-coldplug.html b/doc/mdevd-coldplug.html new file mode 100644 index 0000000..8355df3 --- /dev/null +++ b/doc/mdevd-coldplug.html @@ -0,0 +1,74 @@ + + + + + + mdevd: the mdevd-coldplug program + + + + + + +

+mdevd
+Software
+skarnet.org +

+ +

The mdevd-coldplug program

+ +

+mdevd-coldplug performs a coldplug: it scans +/sys for all registered devices an uevent manager would +want to perform actions on, and generates uevents for all these +devices. +

+ +

Interface

+ +
+     mdevd-coldplug [ -s slashsys ]
+
+ + + +

+ This implies that the mdevd-coldplug | mdevd command line +will function as a coldplug manager, just like mdev -s. +

+ +

Options

+ + + +

Exit codes

+ + + +

Notes

+ + + + + diff --git a/doc/mdevd-netlink.html b/doc/mdevd-netlink.html new file mode 100644 index 0000000..9747f13 --- /dev/null +++ b/doc/mdevd-netlink.html @@ -0,0 +1,123 @@ + + + + + + mdevd: the mdevd-netlink program + + + + + + +

+mdevd
+Software
+skarnet.org +

+ +

The mdevd-netlink program

+ +

+mdevd-netlink listens to the netlink interface for uevents +(also called "hotplug" or "udev" events), and writes those uevents to +its standard output, using a simple format. +

+ +

+mdevd expects uevents in the same +format mdevd-netlink writes them. So the +mdevd-netlink | mdevd command line will function as +a daemon reading uevents from the netlink and handling them. +

+ +

Interface

+ +
+     mdevd-netlink [ -d notif ] [ -v verbosity ] [ -b kbufsz ]
+
+ + + +

Options

+ + + +

Protocol

+ + + +

Notes

+ + + + + diff --git a/doc/mdevd.html b/doc/mdevd.html new file mode 100644 index 0000000..b5b8a36 --- /dev/null +++ b/doc/mdevd.html @@ -0,0 +1,130 @@ + + + + + + mdevd: the mdevd program + + + + + + +

+mdevd
+Software
+skarnet.org +

+ +

The mdevd program

+ +

+mdevd is an uevent manager. It reads a series of +uevents on its stdin; for every uevent it reads, it performs +actions according to its configuration file. Actions can +be inserting a kernel module, creating or modifying device +entries in /dev, etc. +

+ +

+ mdevd's configuration file uses the exact same +format as +mdev. +The differences between mdevd and mdev are: +

+ + + +

Interface

+ +
+     mdevd [ -v verbosity ] [ -f conffile ] [ -n ] [ -s slashsys ] [ -d slashdev ] [ -F fwbase ]
+
+ + + +

Exit codes

+ + + +

Signals

+ +

+ mdevd reacts to the following signals: +

+ + + +

Options

+ + + +

Configuration file

+ +

+ mdevd uses mdev's configuration file format. +A good mdev.conf example is available +here. +

+ +

+ If mdevd cannot find its configuration file, it will use a simple, basic default +configuration where it can create device nodes as root or delete them, and does +nothing else. +

+ +

Notes

+ + + + + diff --git a/doc/upgrade.html b/doc/upgrade.html new file mode 100644 index 0000000..06c1654 --- /dev/null +++ b/doc/upgrade.html @@ -0,0 +1,28 @@ + + + + + + mdevd: how to upgrade + + + + + + +

+mdevd
+Software
+skarnet.org +

+ +

What has changed in mdevd

+ +

in 0.0.1.0

+ + + + + -- cgit v1.2.3