www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/01/20/16:02:32

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:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; q=dns; s=
default; b=QzcHt3VmvZd4AHqnVE9yQWvA2vHKtTzwMovFUWSyWCnWBmqhlf0sk
YRqzzZMMNAw3Y7G2teNe0PhW1pVZDih4WG9ljIE1Vq0TkRP7SsypSxwrkcpxZlZV
rTx+WXULoTBWfZ2hATdtisfwbekxUjk1x6APe35yp19aPkudq5OKY0=
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:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; s=default;
bh=pDC6TYPmO58d6a9FUyiCLG6UrT4=; b=v+OqqwNPI5+jueC2Sq7KnuVEeFqL
Ci+8b+MDZuHQFQrYjhBsXA/QVeBqN1uX2mD0Z/pZ71T6Ok7UalbwWuJBLSZhtHI9
1YJJN8aYzRiqn1LXW3zWmVn9lc6p+1J9y26j66PJDGrkFs3eJ2Xx4eZQWk20qpV1
QdHPPwyajbLzNJI=
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-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=necessity, H*f:sk:87fuxsj, H*MI:sk:87fuxsj, Hx-languages-length:1592
X-HELO: plane.gmane.org
To: cygwin AT cygwin DOT com
From: Henri <houder AT xs4all DOT nl>
Subject: Re: Base-files-mketc.sh error for non-existing C:\Windows\SysWOW64\drivers\etc
Date: Wed, 20 Jan 2016 21:01:59 +0000 (UTC)
Lines: 47
Message-ID: <loom.20160120T215934-785@post.gmane.org>
References: <CALiPeun3bCr9uNNA56Kc-8VbLXFXrTrTWJikdRx0jjRFvAuwkA AT mail DOT gmail DOT com> <loom DOT 20160120T085800-407 AT post DOT gmane DOT org> <loom DOT 20160120T135441-652 AT post DOT gmane DOT org> <87fuxsjd5x DOT fsf AT Rainer DOT invalid>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes

Achim Gratz <Stromeko <at> nexgo.de> writes:

> > Please read:
> >
> > https://msdn.microsoft.com/\
> > en-us/library/windows/desktop/aa384187%28v=vs.85%29.aspx
> >
> > ... an attempt by Microsoft to explain the mess ...
> >
> > Better Google: SysNative etc
> 
> I think my proposal above works on all systems without any of the
> SysNative nonsense, I just still don't know if Microsoft in their
> infinite wisdom have yet another place where they might look for those
> files.

Yes, your proposal will work ... BECAUSE in that specific case, redirection
will be switched OFF (hey, study the URL that I posted).

However, if one looks for the etc directory below the drivers directory, it
will be in vain (because now redirection is switched on).

(of course, the above applies to 32-bits Cygwin)

@@ uname -a
CYGWIN_NT-6.1-WOW Seven 2.3.1(0.291/5/3) 2015-11-14 12:42 i686 Cygwin

# redirection switched off
@@ ls -ld $(/usr/bin/cygpath -W -u)/System32/drivers/etc
drwxrwx---+ 1 TrustedInstaller TrustedInstaller 0 Sep  7  2014
/drv/c/Windows/System32/drivers/etc

# redirection switched ON (System32 => SysWOW64)
@@ ls -l $(/usr/bin/cygpath -W -u)/System32/drivers | grep etc

# use of SysNative to circumvent the "redirection nonsense" ...
@@ ls -l $(/usr/bin/cygpath -W -u)/SysNative/drivers | grep etc
drwxrwx---+  1 TrustedInstaller TrustedInstaller        0 Sep  7  2014 etc

Regards,
Henri

Btw, Microsoft thinks the "SysNative nonsense" a necessity; it even patched
XP in order to introduce that nonsense ...

=====



--
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