From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Wed, 25 Feb 2004 01:53:35 +0000 Subject: [PATCH] hotplug - man page addition Message-Id: <20040225015335.GB25022@vrfy.org> MIME-Version: 1 Content-Type: multipart/mixed; boundary="KFztAG8eRSV9hGtP" List-Id: To: linux-hotplug@vger.kernel.org --KFztAG8eRSV9hGtP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline We should mention the DEVPATH in the hotplug man page too, as someone missed it and got confused. thanks, Kay --KFztAG8eRSV9hGtP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline; filename="hotplug.8.diff" --- 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 --KFztAG8eRSV9hGtP-- ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&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