[PATCH] remove incorrect and redundant modprobe modalias rule

Dominik Brodowski linux at dominikbrodowski.net
Sun Dec 4 13:31:04 EST 2005


Hi,

On Wed, Nov 23, 2005 at 11:45:29AM +0000, Colin Watson wrote:
> The following patch removes the udev rule that does '/sbin/modprobe
> $modalias', because (a) udev has no $modalias variable (it should be
> $env{MODALIAS} instead) and (b) udev installations these days generally
> have a rule in the standard ruleset that does this already, and
> duplicating the rule just results in an unnecessary extra invocation of
> modprobe.
> 
> If you don't want to remove the rule, then please correct $modalias to
> $env{modalias}.

I've chosen to do the latter -- udev-070 on gentoo stable didn't work that
way. pcmciautils will now have a slightly different udev rules generation
method, so that you can comment out udev/rules-modprobe if you do not want
it to be added to /etc/udev/rules.d/60-pcmcia.rules

Thanks,
	Dominik



More information about the linux-pcmcia mailing list