From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Alexander E. Patrakov" Date: Tue, 10 May 2005 12:58:28 +0000 Subject: Re: [ANNOUNCE] hotplug-ng 002 release Message-Id: <4280AFF4.6080108@ums.usu.ru> List-Id: References: <20050506212227.GA24066@kroah.com> <1115611034.14447.11.camel@localhost.localdomain> <20050509232103.GA24238@suse.de> <1115717357.10222.1.camel@localhost.localdomain> <20050510094339.GC6346@wonderland.linux.it> In-Reply-To: <20050510094339.GC6346@wonderland.linux.it> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Marco d'Itri Cc: Rusty Russell , Greg KH , linux-hotplug-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org Marco d'Itri wrote: >On May 10, Rusty Russell wrote: > > > >>So I rewrote it yesterday, so now it passes the testsuite. I also added >>a test. It's in 3.2-pre4: if there are no more requests/bugs in the >>next couple of days, I'll make that 3.3. >> >> >My major request is support for /etc/hotplug/blacklist.d/ in modprobe: >now that the hotplug subsystem does not know anymore the name of the >module to be loaded, it's up to modprobe to check the system blacklist. >IME, without this feature users will not accept hotplug-ng. > > Why not this or something similar (e.g. I want to blacklist the xxx and yyy modules)? (note, untested) in /etc/modprobe.d/hotplug_blacklist: install xxx /sbin/blacklisted xxx install yyy /sbin/blacklisted yyy In /sbin/blacklisted: #!/bin/sh if [ -z "$SEQNUM" ] ; then /sbin/modprobe -i "$@" else exit 1 fi Any other variable that is certainly present in hotplug events will also work instead of $SEQNUM. -- Alexander E. Patrakov ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_ids93&alloc_id281&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