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: List-Subscribe: List-Archive: List-Post: List-Help: , 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 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: References: <87fuxsjd5x DOT fsf AT Rainer DOT invalid> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes Achim Gratz 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