Re: [PATCH] apply blacklist to builtin aliases only

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Michal Marek kirjoitti torstai, 6. toukokuuta 2010 16:35:01:
> On 6.5.2010 14:45, Anssi Hannula wrote:
> > Kay Sievers kirjoitti torstai, 6. toukokuuta 2010 13:13:21:
> >> Yes, and it is doing this on purpose. It does not matter where an
> >> alias is coming from, a blacklist entry should prevent the loading of
> >> a module in all cases.
> >> 
> >> The man page should be corrected, we seem to have missed that.
> > 
> > Ah, we were hoping to use it like follows:
> > Four modules foo1, foo2, foo3, foo4 match the same hardware.
> > 
> > All of them are blacklisted, and to select the used driver an alias is
> > used: alias foo foo3
> > 
> > and then when a program (X server) runs "modprobe foo" the aliased one
> > will be loaded.
> > 
> > Is there a suggested simple way to do that?
> 
> install foo /sbin/modprobe $CMDLINE_OPTS foo3
> ?

I knew I missed something very simple :)

Thanks.

-- 
Anssi Hannula
--
To unsubscribe from this list: send the line "unsubscribe linux-modules" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux