This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Base-files-mketc.sh error for non-existing C:\Windows\SysWOW64\drivers\etc


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]