On Sun, Apr 22, 2012 at 10:38 AM, Thomas Backlund <tmb@xxxxxxxxxx> wrote:
> Hi,
>
> We have planned to let kmod replace module-init-tools in Mageia 2
>
>
> But we have noew found a regression in kmod vs module-init-tools.
>
>
> If we have a line:
>
> install ide-controller /sbin/modprobe ide_generic; /bin/true
Unrelated, but what's the purpose of putting /bin/true there? You sure
would want to detect whether "modprobe ide_generic" failed.
>
>
> then module-init-tools will allow us to do:
>
> modprobe ide-controller
These line works for me:
$ cat /etc/modprobe.d/bla.conf
install bla echo "bla"
install serio_raw echo "serio_raw no more"; /bin/true
There's no module named "bla"
There's a module named serio_raw.
$ modprobe bla
bla
$ modprobe serio_raw
serio_raw no more
>
>
> but with kmod, it just says:
>
> FATAL: Module ide-controller not found.
>
>
> Is there plans to have kmod supporting this ?
It should be already supported. Please run with the following command
(check if it's adding your /etc entry to config -- did you name the
file something.conf?):
modprobe -vvvvvvvv ide-controller
Lucas De Marchi
--
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
[Home]
[Linux USB Devel]
[Video for Linux]
[Linux Audio Users]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Video Projectors]
[PDAs]
[Free Online Dating]
[Hacking TiVo]
[Linux Kernel]
[Linux SCSI]
[XFree86]
[Devices]
[Big List of Linux Books]
[16.7MP]