From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.131]) by sourceware.org (Postfix) with ESMTPS id 5CF6F383802C for ; Wed, 21 Apr 2021 19:28:26 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 5CF6F383802C Received: from calimero.vinschen.de ([24.134.7.25]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MWAaw-1m6icF0Vzu-00XgII for ; Wed, 21 Apr 2021 21:28:25 +0200 Received: by calimero.vinschen.de (Postfix, from userid 500) id 626EDA80EDD; Wed, 21 Apr 2021 21:28:24 +0200 (CEST) Date: Wed, 21 Apr 2021 21:28:24 +0200 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Cannot access system32 directory from 32 bit cygwin after the commit 456c3a46 Message-ID: Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <20210421120457.cd5b6e966288aa62eee1a013@nifty.ne.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Provags-ID: V03:K1:JqKrCFF4VOb9zEaIPW3IIopdlIOdz1CyumkfbmLspoAlqBtAMvJ EnetmZv+UfEwTFV0QAi87vIR76WyrMXe5IOysG3hf/y44ECr4hc88pyDK9/MJ6fw/jcoH0X Dt029FFji+QwFuQjrU8QMPOFkKMYPlEejQ4q2OvdpF00LEk8g0GuvmCYrgtO0l0X6pJtODC R1KqsWMu4cBBkqY4lwEXA== X-UI-Out-Filterresults: notjunk:1;V03:K0:7fTfi184COQ=:YKtyt7L23cYA5KykHwbhtt QQukOd8pZZTjlAVKBMXJocf6qvjzMpxSw9jwBmxx/O2YY7sl0VlLCwGFbY/+EUe+gjP5+D4lM ONjhcbS/Z0xPLyJuDVQB2DKxWWlCGjTZVqNLqzb/zw3GTp66NgYFD7RYaBWV0Gb22ZLtJAT/1 QhCzMUNyy9muqgu++QulHjhnxjNrNoSRxXrqExmnLU8SSMMx7GZOY0Fy2nXnSsRp0xIwaUnzj 11lHretdLOlr9cEZZCGC79AnIYuIcsixzEwSBjOoJehT8n9GSJqKlfJ4d6ge5XwtwfOmDCXar XMps9QX/OFtJw49ywvdkMCgY1TiIPCMnEf26jO6PpugbCTHfTgJJLuUSCoUlvlO1aO1LBucU0 ySt59eq6RTaa9S16iGjbNtUHf+o7AXkHhmXS5NXQP1ru2MDvS+ZigwwrLqFhrhlK5xd9MPUKP w+29CMtMmisQRt7DJeAQ/WCyYl8M2w6gC+Ve5AXD9mmR+CWNf/B6UB0Sk4KXCaKYSdIjxcY1+ K/rnb3MczaWNz+GTTWlf7A= X-Spam-Status: No, score=-100.1 required=5.0 tests=BAYES_00, GOOD_FROM_CORINNA_CYGWIN, KAM_DMARC_NONE, KAM_DMARC_STATUS, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NEUTRAL, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Apr 2021 19:28:27 -0000 On Apr 21 11:57, Bill Stewart wrote: > On Wed, Apr 21, 2021 at 10:47 AM Corinna Vinschenwrote: > > > > A sane assumption is for instance, if you cd to foo, that your in foo. > > That's what the FSR breaks in a thorough way. I. e. on WOW64: > > > > $ cd /cygdrive/c/Windows > > $ ls -1d Sys* > > SysWOW64 > > System > > System32 > > SystemApps > > SystemResources > > > > So there are two dirs, one called System32, one called SysWOW64. > > > > This is, of course, completely expected (notwithstanding the confusion > caused by the "bitness" names being opposite of what some expect). > > > > Note how there's *no* such directory called "Sysnative". Still... > > > > $ cd System32 > > > > works fine. You're just not in System32, but in SysWOW64. Sane? > > > > This is completely sensible and expected, as the entire point of the WoW > emulator is to emulate 32-bit Windows. > > Alternatively: > > > > $ cd Sysnative > > > > works fine and now you're, oh wonder, in System32. If that's sane, > > running head first into a wall is, too :) > > > > "Sysnative" isn't an actual file system directory, as noted, but an "alias" > (for lack of a better word) that allows, from a Wow64 process, to refer to > the real 64-bit system directory. You can use the name "Sysnative" if you > are certain you really want to refer to the 64-bit system directory. > > This all seems like a pretty straightforward and sensible approach, IMO. This is not the right place to discuss this in detail, but to me, a straightforward and sensible approach would have been to give the 64 bit system dir another name right from the start: C:\Windows\System64 Corinna