From 3aeeaac1fee0a985416879fd88ed89a26da989d6 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Mon, 9 Mar 2015 18:17:00 +0000 Subject: Doc fixes --- doc/s6-devd.html | 7 ++++--- doc/s6-uevent-listener.html | 9 +++++---- doc/s6-uevent-spawner.html | 2 +- 3 files changed, 10 insertions(+), 8 deletions(-) (limited to 'doc') diff --git a/doc/s6-devd.html b/doc/s6-devd.html index 60fee03..ddbff78 100644 --- a/doc/s6-devd.html +++ b/doc/s6-devd.html @@ -33,9 +33,10 @@ interface does.
  • s6-devd rewrites its command line into s6-uevent-listener s6-uevent-spawner prog..., -dispatching its options to the appropriate program; then it execs into -this command line.
  • -
  • The s6-uevent-listener +dispatching its options to the appropriate programs; then it execs into +this new command line. It does nothing else: it's just a wrapper.
  • +
  • The first executed program, +s6-uevent-listener, will listen to the netlink and pass the events sequentially to s6-uevent-spawner, which will spawn a prog... helper for every event.
  • diff --git a/doc/s6-uevent-listener.html b/doc/s6-uevent-listener.html index 9050e9f..6e6d0ab 100644 --- a/doc/s6-uevent-listener.html +++ b/doc/s6-uevent-listener.html @@ -35,9 +35,9 @@ helper program's standard input, using a simple format. prog' stdin.
  • s6-uevent-listener binds to the netlink interface and listens for hotplug events, as the udev program does.
  • -
  • It tranmits event information to prog via the pipe.
  • -
  • s6-uevent-listener, as well as prog, are long-lived programs. -When it receives a SIGTERM, s6-uevent-listener stops listening; it will +
  • It transmits event information to prog via the pipe.
  • +
  • s6-uevent-listener, like prog, is a long-lived program. +When it receives a SIGTERM, it stops listening; it will exit as soon as it has flushed its event queue to prog.
  • @@ -50,7 +50,8 @@ print warnings every time the netlink interface sends something unexpected.
  • -b kbufsz : try and reserve a kernel buffer of kbufsz bytes for the netlink queue. Too large a buffer wastes kernel memory; -too small a buffer risks losing events. The default is 65536.
  • +too small a buffer risks losing events. The default is 65536 (which is on +the large side).

    Protocol

    diff --git a/doc/s6-uevent-spawner.html b/doc/s6-uevent-spawner.html index e9be726..3fbb545 100644 --- a/doc/s6-uevent-spawner.html +++ b/doc/s6-uevent-spawner.html @@ -70,7 +70,7 @@ alive after k more milliseconds, s6-uevent-spawner yells and exits 99. -- cgit 1.4.1