Yes, I tested it. When you place that config file containing "search
updates built-in" in /etc/depmod.d
directory, it doesn't work. You have to place it in global config file
/etc/depmod.conf.
How depmod works with config files in /etc/depmod.d directory is a
mystery for me. I wasn't able to learn
this from manual pages.
And I tested another thing too. When some of config files (either global
/etc/depmod.conf or one of those in /etc/depmod.d directory)
doesn't contain search command ,
everything works fine, according to manual page for depmod, using
builtin search string "updates built-in" what is
what you need. As soon as one of them (either global or one of those in
/etc/depmod.d directory) contains search command,
then depmod uses this one. It seems seach command in global config file
(/etc/depmod.conf) has higher priory. But as I say
I really don't know how depmod works with all config files.
roman
Luis R. Rodriguez wrote:
On Thu, Jul 30, 2009 at 6:12 AM, Roman Macko<rmacko72@xxxxxxxxx> wrote:
Luis,
I used stable version 2.6.30.
Anyway I downloaded bleeding edge version and ran script check_depmod.
But it created new configuration in /etc/depmod.d directory instead of
creating
global configuration /etc/depmod.conf what I did. It doesn't work in that
way.
What do you mean it doesn't work that way?
Do you mean you tested it and that it didn't work?
I can read in manual pages of depmod.conf that depmod.d directory serves for
configuration on per-module basis,
so I think you can change the order of proceding directories for particular
module only there.
Nope. Even Ubuntu uses their own file in there for the same purpose:
mcgrof@tux ~ $ cat /etc/depmod.d/ubuntu.conf
search updates ubuntu built-in
But I don't know how to name that file or if my thought is right at all.
The man page needs some updating.
Luis
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html