delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/04/21/13:57:43

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
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 AT iname DOT 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
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 DOT cd5b6e966288aa62eee1a013 AT nifty DOT ne DOT jp>
<YH/uPeBvTfxKdRxQ AT calimero DOT vinschen DOT de>
<CANV9t=Qv2OdnmADgXpk=oVfdchSB+n67tWUruvbiqOrtzh4=Ww AT mail DOT gmail DOT com>
<YIBXLtdkPnfcfimZ AT calimero DOT vinschen DOT de>
In-Reply-To: <YIBXLtdkPnfcfimZ@calimero.vinschen.de>
From: Bill Stewart <bstewart AT iname DOT com>
Date: Wed, 21 Apr 2021 11:57:07 -0600
X-Gmail-Original-Message-ID: <CANV9t=RZ9Z3ZoLPQWtTSTvphp10wy3QAYivo+AZo9-2pJ6m+ZQ AT mail DOT gmail DOT com>
Message-ID: <CANV9t=RZ9Z3ZoLPQWtTSTvphp10wy3QAYivo+AZo9-2pJ6m+ZQ@mail.gmail.com>
Subject: Re: Cannot access system32 directory from 32 bit cygwin after the
commit 456c3a46
To: cygwin AT cygwin DOT 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
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

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

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

- Raw text -


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