From: Kay Sievers <kay.sievers@vrfy.org>
To: linux-hotplug@vger.kernel.org
Subject: [PATCH] hotplug - man page addition
Date: Wed, 25 Feb 2004 01:53:35 +0000 [thread overview]
Message-ID: <20040225015335.GB25022@vrfy.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 111 bytes --]
We should mention the DEVPATH in the hotplug man page too,
as someone missed it and got confused.
thanks,
Kay
[-- Attachment #2: hotplug.8.diff --]
[-- Type: text/plain, Size: 1294 bytes --]
--- hotplug.8 2002-08-13 23:59:30.000000000 +0200
+++ hotplug.8.0 2004-02-25 02:44:39.000000000 +0100
@@ -30,13 +30,14 @@
parameter. The name corresponds to a specific kernel subsystem whose
events it processes (e.g. "usb", "pci", "net" etc.).
.P
-Information about an event is usually passed to agents in the form of
-environment variables. Most agents accept a "ACTION" variable that describes
-the type of the event. It can be, for example, "add" or "remove" to signify
-that some device has just been connected to or disconnected from the system
-respectively. In such requests, agents are also given variables
-describing at the device (and its location) so that they can choose
-the appropriate drivers to set up.
+Information about an event is passed in the form of environment variables.
+Most agents accept a "ACTION" variable that describes the type of the event.
+It is set to "add" or "remove" to signify that some device has just been
+connected to or disconnected from the system.
+.br
+The location of the device is provided in the variable "DEVPATH".
+With kernel version 2.5 and later it is set to the corresponding sysfs device
+path without the mountpoint but a leading slash.
.P
.B hotplug
agents aren't necessarily called only by the kernel though. While the OS
next reply other threads:[~2004-02-25 1:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-25 1:53 Kay Sievers [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-03-11 23:31 [PATCH] hotplug - man page addition Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040225015335.GB25022@vrfy.org \
--to=kay.sievers@vrfy.org \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).