From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.gmx.com (mout.gmx.com [74.208.4.201]) by sourceware.org (Postfix) with ESMTPS id C8C903844041 for ; Wed, 21 Apr 2021 17:57:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org C8C903844041 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=iname.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=bstewart@iname.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mail.com; s=dbd5af2cbaf7; t=1619027857; bh=KBa+NLnW9H7eKlQTsXqJA4qEqQinpGsTtcDJMV38NOE=; h=X-UI-Sender-Class:References:In-Reply-To:From:Date:Subject:To; b=A9QxOWuu/bjM/oOjdeW42+W2SYQe03Vyo7NGVGpWM92R4NFhvjqWifnE05kdCm3jR NJvItsVIQXcuNem7wuPOc4I3CQI+uLk2EplCO85LygVfj7868DOmOoiUrVno8qfFzD O5WeCp8Rfs5UGC2RIDcA2cl+8k1I/nE4IK2n9vIQ= X-UI-Sender-Class: 214d933f-fd2f-45c7-a636-f5d79ae31a79 Received: from mail-lf1-f50.google.com ([209.85.167.50]) by smtp.mail.com (mrgmxus003 [74.208.5.15]) with ESMTPSA (Nemesis) id 0MUpuU-1m7I8C3HDg-00YAZe for ; Wed, 21 Apr 2021 19:57:37 +0200 Received: by mail-lf1-f50.google.com with SMTP id r128so41131315lff.4 for ; Wed, 21 Apr 2021 10:57:36 -0700 (PDT) X-Gm-Message-State: AOAM530hWI+DYNBcZT97vH3SiZlXCckkdY5HSVGbewd41yvVj/7TIaOK hb+2FoaxTkv5PwVCX6fb02z5Q8W6zBSWvbFIQOs= X-Google-Smtp-Source: ABdhPJyiT4pSFWobXSZExTixvLc5fDWMyFBepvPI70nFOV0iC5A7JbKe8b43Wupcs+VRsc7SlWDr9JQ6reQVCkpcn+k= X-Received: by 2002:ac2:58ee:: with SMTP id v14mr19891251lfo.83.1619027854841; Wed, 21 Apr 2021 10:57:34 -0700 (PDT) MIME-Version: 1.0 References: <20210421120457.cd5b6e966288aa62eee1a013@nifty.ne.jp> In-Reply-To: From: Bill Stewart Date: Wed, 21 Apr 2021 11:57:07 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Cannot access system32 directory from 32 bit cygwin after the commit 456c3a46 To: cygwin@cygwin.com X-Provags-ID: V03:K1:iyDH9Yt6+AaXTt8yy+vSciNEJj/pGXjZzWlMDJ/23qMqd7isWTN Pn85jKo7atHFENymWDqf0GoZQ1IZui1bidIoDqO21kLkZ+scegComNcO0H2NLJ0Uc0eSaal RNODR6GHFv+Whot0lXFZLJcYganOPn4hLwg2iNO2Na/MHxsfZIi8Pet0k1rxdLr/Km+qkgq 4sefjI94I6+LeYe9thk9A== X-UI-Out-Filterresults: notjunk:1;V03:K0:Zb6gWxw/+nM=:TzSeYS8vfMLLDUia3YzNvT XnmNhBFxinm7iDuTnU0geifSrBFataC5xQW8HOMI44QoAUmdVA8WxvJ2yJEaXZQHm9q3PwrLS DOrTcIOTkdnpuxWyxX6fYeVyQBNrOm/f+FmxVKp4cgprOlzMWUjraNTHxYIlIBkKTK7KfYoou bY61eeTkL4bisJINOkkgWvGEz9GJaWUxsW/fuwIaxRGwsNxUrd/md/xa5inZak1Wlt60yPuco 0kQnge7NTACKP7viHdMNSHYVfcQWYmA3JK7aUV3V/BK9xGrYVxCy4FoDCwJ9U55SXkK1H+iEg fX2OaCGQHF8rl9+5Pd8iK4wXCR56/iOmCyVxvJ6iXksb9rsWZ5Bg6r3tOSv1KngJ34I8zF9yU tCw/u9tZDTDJVmfJPIzyiHXWG/K7Mi+TbAxMMBBDPk1wTtFowEXnn92NCUpVKyCocC4HKuUsw WBD39GsIRlmqT2dT4/Zu84KlXMKO/ST8XIPYd4VmQLm6LUlGvJwBJ8gC5+5cl9tus5aw4CBdD LhS942/6ZL4sgsbgNPeD4lq+OFfevzDCJMAGkZFXymRt4a56i2pqBJp7wuHrAs+XQU8PjcO6N m6dfOid6Nv07NPRzKZxJs9Fz9OSawG68yGJNYs5bUQUBtA3sxat3FWse/CnMnE1VuEoUZS1hZ a0QYt3Kaqeh+5/Cxz7kMaajl09MgRV6tE8JsMngAWY9hucfmAOOHW25/4SV2UM3F1HzfqKI2Q QO5xolHMYN/1oaQbh4K4UzYbCws8i5IPp4UakH8jrxM7Y66QibvPpj9qjz6AleWOEY68GaWKg KwvShqim7cdRucJGKj9XZ2+I5V00D2ywXEZFP5PcQRZXOljbNnOLRCjj3vroaIAdlSeT8rwLf jlElE0nSrrpl9FxYfKbaUzp4pnAAp/34auJq6a4YobdzWlSwOeCMFHOx2PNOZJsx2BFDAbhl/ qXtd5kYr11xd0lA7ms5eMywy65UqEgTKT+jkQQ3gDtVKfXQyyfSATnVDq/WEA5LxAM8ap9y3I f4bD0UGij5wGnt+EW1P8TMozvRoR4qTAyFZE0b66rUVMuyOjYxLLVEhmPnNLreHtsJUQ5O5Am NI+IUwrrvTlYQpiyYuIRN8zFlbWzh2/QQNudfkBlqzxmLiC4Hb8VajZ0ndPyk3wZZaIeuryiI Y7wRVCKsNvLj1236gSblw00zBwQHtkR6Y1Ahq//8rOn3A1aU/sqp+EQXpKrapW9Mr2emE= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, HTML_MESSAGE, KAM_NUMSUBJECT, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, 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 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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 17:57:39 -0000 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. Bill