delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/07/15/03:19:33

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=SyFIlG1VX1dnVxk8
mXbvgIQ8/t8Bb7ARsQ2uqmf4DnqAkDRZdVJ+U26b2eEh+JQUVxVzpRJw4IGJLjNT
zVdQnUDr7gbiQ/3BbImkLenVFxPChuXW87hVwJFuJPuQaBkiiyJZzh8FIY55nUNY
SLxZQkibmeeWfUsT+hLh2PRfxy0=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=x7KGeV6sd7bt3X54jyyVwE
VK6Dw=; b=Y+ZLfJk4U5+Xwm2J1vNTYcitCgSHpd0w7rT/NnGlgOLfBPADBviVCg
R24HV55SoItL+ycKPQfXgE18/dW/OpsyPmUYjAvUAwlrSu/2vE3O426U2AeMzzSR
omH1lQ7O6+2pRYe4ZvqT/UIuz4wuU7dDiN6uMe8faG7MQ5Nymg4wY=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=Hx-languages-length:1589, UD:exe, supplied, paths
X-HELO: smtp-out-no.shaw.ca
Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca
Subject: Re: How to Setup Multiple System Distro Manpages
To: cygwin AT cygwin DOT com
References: <dff40454-bca5-6f2d-183f-7f4707ff1059 AT SystematicSw DOT ab DOT ca> <CAHSx_StCgHyvwLy9O3hczBUQ=kJY=rvNJZtGkUhUiDa7WcYc_w AT mail DOT gmail DOT com>
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Openpgp: preference=signencrypt
Message-ID: <2d7c66c8-7bc4-f813-9942-ba33337dacc4@SystematicSw.ab.ca>
Date: Sun, 15 Jul 2018 01:19:15 -0600
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1
MIME-Version: 1.0
In-Reply-To: <CAHSx_StCgHyvwLy9O3hczBUQ=kJY=rvNJZtGkUhUiDa7WcYc_w@mail.gmail.com>
X-IsSubscribed: yes

On 2018-07-14 22:25, Wayne Davison wrote:
> On Sat, Jul 14, 2018 at 1:51 PM Brian Inglis wrote:
>> $ l /proc/cygdrive/c/usr/local/share/man/
> 
> Shouldn't those be under /usr/local instead of
> /proc/cygdrive/c/usr/local?  Typically /usr is something like
> C:/cygwin64/usr, which is not the C:/usr dir you've used.

Shouldn't be any problem as long as the search path is in man-db.conf or MANPATH.
Under Filesystem Hierarchy Standard:
- /usr/share/man/ is for system supplied package manpages;
- /usr/local/share/man/ is for locally built package manpages for that system:
  /opt/man/ on some systems; comes *before* system paths in MANPATH;
- /proc/cygdrive/c/usr/local/ is not FHS but follows those rules, where I store
  my system top level distros, including AST, DJGPP, Cygwin, etc., links to
  WSL distros' rootfs; and native, common, or shared stuff goes under
  subdirectories:
  . bin/    native user .exe .cmd .reg;
  . etc/    configs .ini etc.;
  . lib/    support or addins .dll .exe;
  . sbin/   native system admin .exe .cmd .reg;
  . share/  data, docs, etc. including:
	    ~ man/  misc and old stuff, like alt.sysadmin.recovery (**) and
		    funny manpages (**NSFW); *after* system paths in MANPATH;
		    ~ cat1/ cmd.exe internal and external command and
			    native Windows utilities help;
  . src/    native utility and package sources e.g. from net or github;

where these are not part of a distro, and if I wipe out a distro, they remain;
similar to, and could become, a network mount instead of local storage.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019