From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roman Kagan Date: Thu, 17 Feb 2005 09:12:24 +0000 Subject: Re: [ANNOUNCE] hotplug-ng 001 release Message-Id: <20050217091224.GA2363@katya> List-Id: References: <20050211004033.GA26624@suse.de> In-Reply-To: <20050211004033.GA26624@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Thu, Feb 17, 2005 at 09:46:15AM +0300, Michael Tokarev wrote: > 1. Well yes, module autoloading may be done without sysfs just fine > (but see below). Yet, module autoloading isn't the only "usage" of > hotplug subsystem, right? Ie, in 99.9% of times when a hotplug > event is emitted, there will be other scripts executed to handle > the event, and that scripts will depend on sysfs information. If they do, they'll have to dig in sysfs themselves. Otherwise how would the multiplexer communicate the sysfs information to the scripts? > 2. And even for module autoloading, $DEVPATH/driver symlink is very-very > handy, as it's the only (and good) way to check whenever we really want > to mess with all the module stuff for this device at all: if the symlink > is present, just do nothing. No, it won't work: until the driver is bound to the device (which likely happens well after the hotplug event) there's no driver symlink. Anyway it's not modprobe's business to check whether the module it loads binds to the device, it should only check if the requested module is already loaded, and it has other means to do this. Cheers, Roman. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&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