modprobe.conf Syntax

Tim Wunder tim
Thu Jan 5 07:51:30 PST 2006


On Thursday 05 January 2006 12:24 am, someone claiming to be 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
>

This says, "off" is the same as (an alias for) "ehci-hcd,"  doesn't it? The 
other syntax you used would say "ehci-hcd" is the same as "off," which 
doesn't exist, hence the error.

> 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

I don't think you can turn things on and off with an alias line, can you?
/me reads man modprobe.conf...

Would "options ehci-hcd off" be what you want? 

Maybe "remove echi-hcd" to remove the module...

alias, though, would certainly seem not to be what you want...

Regards,
Tim

-- 
Fedora Core release 4 (Stentz), Linux 2.6.14-1.1653_FC4
KDE: 3.5.0-4.0.fc4.kde, xorg-x11-6.8.2-37.FC4.49.2
 07:40:05 up 1 day,  9:26,  2 users,  load average: 0.07, 0.47, 0.66
MP3/OGG archive Total playlength : 7 days, 18 hours, 17 mins 41 seconds
"It's what you learn after you know it all that counts" John Wooden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.linux-sxs.org/pipermail/linux-users/attachments/20060105/fa77e511/attachment-0001.pgp


More information about the Linux-users mailing list