public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Henri <houder@xs4all.nl>
To: cygwin@cygwin.com
Subject: Re: Base-files-mketc.sh error for non-existing C:\Windows\SysWOW64\drivers\etc
Date: Wed, 20 Jan 2016 23:35:00 -0000	[thread overview]
Message-ID: <loom.20160120T215934-785@post.gmane.org> (raw)
In-Reply-To: <87fuxsjd5x.fsf@Rainer.invalid>

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

  reply	other threads:[~2016-01-20 21:02 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-20  8:02 David Lee
2016-01-20 11:47 ` Achim Gratz
2016-01-20 13:08   ` Henri
2016-01-20 14:17   ` Henri
2016-01-20 21:45     ` Achim Gratz
2016-01-20 23:35       ` Henri [this message]
2016-01-21 19:56         ` Achim Gratz
2016-01-22  7:35           ` David Lee
2016-01-22 14:33             ` Achim Gratz
2016-01-22 16:02               ` Andrey Repin
2016-01-22 21:07               ` cyg Simple
2016-01-27  9:46               ` David Lee
2016-01-27 16:08                 ` Achim Gratz
2016-01-28  6:35                   ` David Lee

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20160120T215934-785@post.gmane.org \
    --to=houder@xs4all.nl \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).