Re: whereis search path

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

 



On 27 January 2015 at 06:33, Brandon Vincent <Brandon.Vincent@xxxxxxx> wrote:
> Out of curiosity, it looks like the search path for whereis is hard coded.

Hi Brandon,

The whereis(1) default paths are indeed hard coded.

https://github.com/karelzak/util-linux/blob/master/misc-utils/whereis.c#L96

With -B, -M, and -S option arguments additional paths can be
specified, but that is not what you are asking.

> Was the inclusion of /usr/share/info ever considered?

As far I can tell inclusion of the info directory has not been
considered. I recon the /usr/share/info is closest to manuals category
from the three options, and it feels like reasonable addition.

Any other opinions? And should this change be done before or after
release v2.25?

-- 
Sami Kerola
http://www.iki.fi/kerolasa/
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux