modprobe.conf Syntax

Net Llama! netllama
Thu Jan 5 00:42:59 PST 2006


On 01/04/2006 09:24 PM, Kurt Wall wrote:
> On Wed, Jan 04, 2006 at 08:56:01PM -0800, Net Llama! took 0 lines to write:
>> On 01/04/2006 10:25 PM, Kurt Wall wrote:
>> >After reading man 5 modprobe.conf, I'm not terribly enlightened. 
>> >Can I still say
>> >
>> >alias ehci-hcd off
>> >
>> >to disable loading the ehci-hcd module?
>> 
>> yes
> 
> Eh, maybe not. With that specific syntax, I got an error that
> modprobe couldn't find module "off". This didn't work either:
> 
> alias off ehci-hcd
> 
> Darned odd, because the man page says:
> 
> alias wildcard modulename
> 
>        This allows you to give alternate names for a module. For exam-
>        ple: "alias my-mod really_long_modulename" means you can use
>        "modprobe my-mod" instead of "modprobe really_long_modulename".
> 
> Go figure. I worked around it by not building the ehci_hcd module.
> 
> Kurt

actually, i think you need to specify the alias name not the module name 
and then it should work fine.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman                       	       netllama at linux-sxs.org
LlamaLand		 		http://netllama.linux-sxs.org

  21:30:03 up 24 days,  7:43,  1 user,  load average: 0.41, 0.40, 0.38


More information about the Linux-users mailing list