linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] hotplug - man page addition
@ 2004-02-25  1:53 Kay Sievers
  0 siblings, 0 replies; 2+ messages in thread
From: Kay Sievers @ 2004-02-25  1:53 UTC (permalink / raw)
  To: linux-hotplug

[-- 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] hotplug - man page addition
@ 2004-03-11 23:31 Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2004-03-11 23:31 UTC (permalink / raw)
  To: linux-hotplug

On Wed, Feb 25, 2004 at 02:53:35AM +0100, Kay Sievers wrote:
> We should mention the DEVPATH in the hotplug man page too,
> as someone missed it and got confused.

Applied, thanks.

greg k-h


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&op=click
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-03-11 23:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-11 23:31 [PATCH] hotplug - man page addition Greg KH
  -- strict thread matches above, loose matches on Subject: below --
2004-02-25  1:53 Kay Sievers

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).