Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Sep 2019 00:58:28 +0200
From:      Per Hedeland <per@hedeland.org>
To:        Polytropon <freebsd@edvax.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Where is the info viewer?
Message-ID:  <e1412d74-f50d-a9a5-047c-678d42d8319e@hedeland.org>
In-Reply-To: <20190912183952.c4873f5b.freebsd@edvax.de>
References:  <20190910070033.GA29721@admin.sibptus.ru> <alpine.BSF.2.20.1909102030500.59741@fledge.watson.org> <20190911041439.9ba45e18.freebsd@edvax.de> <10971217-3072-cfee-785d-3748e9879a2f@gmail.com> <20190911110708.95a9b3f8.freebsd@edvax.de> <44ftl3hrdf.fsf@be-well.ilk.org> <20190911160926.5b3549c3.freebsd@edvax.de> <alpine.BSF.2.20.1909111123160.59741@fledge.watson.org> <73a70d38-ff87-54b0-89ef-2aae257b03df@hedeland.org> <20190912025852.57f64546.freebsd@edvax.de> <218ac7d6-6098-0310-93a6-9fc77d578027@hedeland.org> <20190912183952.c4873f5b.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2019-09-12 18:39, Polytropon wrote:
> On Thu, 12 Sep 2019 14:39:42 +0200, Per Hedeland wrote:
>> On 2019-09-12 02:58, Polytropon wrote:
>>> On Wed, 11 Sep 2019 18:47:17 +0200, Per Hedeland wrote:
>>>> But, but... - surely there are no info files in base? They live in
>>>> /usr/local/share/info, which should be enough of an indication, but
>>>> just to make sure:
>>>>
>>>> $ ls /usr/share/info
>>>> ls: /usr/share/info: No such file or directory
>>>> $ ls /usr/local/share/info | wc -l
>>>>          78
>>>> $ pkg which /usr/local/share/info/* | grep 'installed by package' | wc -l
>>>>          77
>>>> $ pkg which /usr/local/share/info/* | grep -v 'installed by package'
>>>> /usr/local/share/info/dir was not found in the database
>>>> $ cat /usr/local/share/info/dir
>>>> Produced by: indexinfo 0.3.1.
>>>>
>>>> File: dir,      Node: Top       This is the top of the INFO tree
>>>> ...
>>>
>>> I think you have obtained this from a current FreeBSD version.
>>
>> Correct, sorry for not mentioning that - it was 12.0-RELEASE (i.e.
>> indeed current but not CURRENT:-). I now also checked 10.3-RELEASE -
>> had ~20 files in /usr/share/info and not even the directory
>> /usr/local/share/info, but quite a few files in /usr/local/info - and
>> 11.1-RELEASE - had neither /usr/share/info nor /usr/local/share/info,
>> but many files in /usr/local/info, so it seems no info files in base
>> there either - and I wouldn't really call 11.1-RELEASE "current"...
> 
> You can easily differentiate:
> 
> /usr/share/info is (correct: was) created by the OS and populated
> with info files corresponding to GNU software components.
> 
> /usr/local/info and /usr/local/share/info (correct location) are
> created as needed by a port, and populated by whatever info files
> that port will install. On a fresh FreeBSD install, they typically
> do not exist; no file in /etc/mtree does contain an entry for a
> directory named "info" in the /usr/local subtree (whereas on older
> FreeBSD versions, those _were_ created as empty directories when
> the OS was installed).

Yes, of course - I'm not sure why you think this needs to be spelled
out, perhaps because my report above wasn't very structured. To
summarize: Out of 10.3-RELEASE, 11.1-RELEASE, and 12.0-RELEASE, only
10.3-RELEASE had any info files in base (in /usr/share/info). Whether
info files from the particular packages installed on these systems
were in /usr/local/info or /usr/local/share/info or both isn't really
relevant to this discussion, I just mentioned what I found.

--Per



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e1412d74-f50d-a9a5-047c-678d42d8319e>