Search Linux Wireless

Re: [Linux Wireless] Update of "en/users/Download" by ReinetteChatre

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

 



On Thu, Jul 30, 2009 at 9:59 AM, Roman Macko<rmacko72@xxxxxxxxx> wrote:
> Yes, I tested it. When you place that config file containing "search updates
> built-in" in /etc/depmod.d
> directory, it doesn't work.

OK you probably have an old version of depmod. depmod is provided by
module-init-tools, what version of module-init-tools do you have?

I have 3.10 (as on Ubuntu Karmic)

> You have to place it in global config file
> /etc/depmod.conf.

If this is an old depmod thing we will have to check the version of
depmod and do this for that case.

> How depmod works with config files in /etc/depmod.d directory is a mystery
> for me.

Its not that tricky, the new version reads /etc/depmod.conf and if
that is not found then moves on to check /etc/depmod.d/* files.

> I wasn't able to learn
> this from manual pages.

That's probably because your version doesn't use depmod.d dir.

> 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.

Right, built-in will use /lib/modules/$(uname -r)/kernel/ for modules,
chances are if no depmod.conf file or depmod.d dir is present default
may be to use built-in.

> 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.

I believe this is built-in by default, then read depmod.conf first, if
that is not present read depmod.d dir.

  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

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux