From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.13]) by sourceware.org (Postfix) with ESMTPS id B9AA13858031 for ; Wed, 15 Feb 2023 09:22:20 +0000 (GMT) Authentication-Results: sourceware.org; dmarc=permerror header.from=cygwin.com Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=cygwin.com Received: from calimero.vinschen.de ([24.134.7.25]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MnItm-1oix5g0key-00jEhb for ; Wed, 15 Feb 2023 10:22:16 +0100 Received: by calimero.vinschen.de (Postfix, from userid 500) id A3F0AA81B96; Wed, 15 Feb 2023 10:22:15 +0100 (CET) Date: Wed, 15 Feb 2023 10:22:15 +0100 From: Corinna Vinschen To: cygwin-apps@cygwin.com Subject: Re: man-pages-linux needs case sensitive directories Message-ID: Reply-To: cygwin-apps@cygwin.com Mail-Followup-To: cygwin-apps@cygwin.com References: <0e730b68-f661-ba13-9020-acce69932067@Shaw.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <0e730b68-f661-ba13-9020-acce69932067@Shaw.ca> X-Provags-ID: V03:K1:/tlGozA5u0SyXzQVcfjKqxWHbXlKFnytfHpZx+3IfVApWQbzSkL Cmxjrn58VBdVswPSzRGqICdY9JsgIHEvSqm/ofcce47s0+zmpOB3pHoeOulTPHkb1Shy7Ns XO1y1I18+teTNwM//Mlh10WeI95a4Os1txGT6v01jBll1N0W+YwjF/GAAO+/PxeYwgS+W4s BhhsU0b6NuLSJ1EyWJyBw== UI-OutboundReport: notjunk:1;M01:P0:v0M+mAccHO8=;PlHEdrSHVHquGYHwAL7/5Dsr95l pbGTwtLVy/f+n5S8TzqoXcGXxub18Rlbs9yS9QqVbluYLFpoKc8nSR/vZZMYtvBGW+yHO/TZ6 GqfsajH/biRuW3yQwcUHJ9bCKblsk/X4xtbEF8WxXHukbyJSS4FpDt5XOQ71lT53Xt9o0jwE9 GAPrz3F/36iJ9PN4no9iFXDXP/G+8mAvN7uRUZHKtaA6Ks9dmsZopde4nO3OMwyI/EDW82cn8 B8ZNpIVrmYcarfRETgFOiUnjHiGgfVU7L9+Gawk2VsYIZmJmZHYA8LTd9UgQAnE5pBOOFiZ4y XP7qtTryNzZ+ZzAmvnZVmQvyZ6eFv0uywnqWgxXYHi0F0W6MIWa24jto5g6CsJC2XbwFgyrt8 oME/4RBIUaWT9ZtmeeVdEXTufbfTPy6Y46EFRxD6Mk/WugirAIpPURfevCnN5aS4D1UosEtvI 4z0odmOipdCzkynBoPrBftuilcqPY0VY8QDzyFROGGDIdYS9+HR03T0i+ypSUhB4kWzYa6Gj7 bcHDV1B0F6YlXZY2U6NsQk9En+oivBtcOplHwJ3eE6XHIGt/I/1pOFKHYWs024qYwEouaxI2d IUhEYIIqu45S035+maXF5qS3YKXRetjp1mJdrYbK0+vgxbKbdWIa3OPtCmQ+SZaNPEephjn0W H15Bh1qUoT6oxcFFhz39h43gHG5sb+YDjtQPYAIeug== X-Spam-Status: No, score=-97.4 required=5.0 tests=BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_DMARC_STATUS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_FAIL,SPF_HELO_NONE,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Feb 15 00:11, Brian Inglis via Cygwin-apps wrote: > Hi folks, > > Linux man pages 6.03 has been released. > I realized that some of the man pages are case sensitive e.g. _[Ee]xit.2, > {NAN,nan}.3, perhaps others. > I took care of my own system using commands like below, but would appreciate > advice on whether there is any better portable or Cygwin specific approach, > and what are the opinions on the best way to handle this in the cygport for > download and install? > Is this supported by Cygwin on Windows 10 versions >= [20]18-03 with the > directory attribute set, are there likely to be any problems with git, or in > general with POSIX<->Windows file names? > > $ cd /usr/share/man/linux/ > $ for s in man?; do fsutil file setCaseSensitiveInfo $s; done You can do this in Cygwin with the chattr(1) tool, see chattr --help. The hint "WSL must be installed" appears to be outdated, at least on Windows 11. There are two approaches for case-sensitivity, see https://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-casesensitive https://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-casesensitivedirs However, as part of the distro, the package must not rely on case-sensitivity. We have to assume that most users are using Windows in default settings. And we still support Windows versions prior to Windows 10 1803. But even then, I encountered serious trouble with case-sensitive directories on remote shares, see https://github.com/microsoft/WSL/issues/3885 so you'd get into trouble if the Cygwin installation is on a share. For colliding man pages, what you can do is to append a character to the man page file, so you can install both. For instance: exit.2 Exit.2a nan.3 NAN.3a Kind of like that. Corinna