From owner-freebsd-questions@freebsd.org Thu Sep 12 22:58:34 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DB8AFDCD1E for ; Thu, 12 Sep 2019 22:58:34 +0000 (UTC) (envelope-from per@hedeland.org) Received: from mailout.easydns.com (mailout.easydns.com [64.68.202.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46TvMF64xtz3N9n for ; Thu, 12 Sep 2019 22:58:33 +0000 (UTC) (envelope-from per@hedeland.org) Received: from localhost (localhost [127.0.0.1]) by mailout.easydns.com (Postfix) with ESMTP id 95042A59EB; Thu, 12 Sep 2019 22:58:32 +0000 (UTC) Received: from mailout.easydns.com ([127.0.0.1]) by localhost (emo13-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uvdPHp0xvdht; Thu, 12 Sep 2019 22:58:32 +0000 (UTC) Received: from hedeland.org (81-228-157-209-no289.tbcn.telia.com [81.228.157.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailout.easydns.com (Postfix) with ESMTPSA id 0B8C3A59F6; Thu, 12 Sep 2019 22:58:30 +0000 (UTC) Received: from pluto.hedeland.org (pluto.hedeland.org [10.1.1.5]) by tellus.hedeland.org (8.15.2/8.15.2) with ESMTPS id x8CMwSdE020543 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Fri, 13 Sep 2019 00:58:28 +0200 (CEST) (envelope-from per@hedeland.org) Subject: Re: Where is the info viewer? To: Polytropon Cc: freebsd-questions@freebsd.org References: <20190910070033.GA29721@admin.sibptus.ru> <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> <73a70d38-ff87-54b0-89ef-2aae257b03df@hedeland.org> <20190912025852.57f64546.freebsd@edvax.de> <218ac7d6-6098-0310-93a6-9fc77d578027@hedeland.org> <20190912183952.c4873f5b.freebsd@edvax.de> From: Per Hedeland Message-ID: Date: Fri, 13 Sep 2019 00:58:28 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190912183952.c4873f5b.freebsd@edvax.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 46TvMF64xtz3N9n X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of per@hedeland.org has no SPF policy when checking 64.68.202.10) smtp.mailfrom=per@hedeland.org X-Spamd-Result: default: False [4.38 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; RECEIVED_SPAMHAUS_PBL(0.00)[209.157.228.81.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; IP_SCORE(0.69)[ip: (1.83), ipnet: 64.68.200.0/22(-0.11), asn: 16686(1.84), country: CA(-0.09)]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[hedeland.org]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.90)[0.900,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(0.99)[0.988,0]; R_SPF_NA(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[10.202.68.64.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:16686, ipnet:64.68.200.0/22, country:CA]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Sep 2019 22:58:34 -0000 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