C:\Windows\System32\drivers oddness
Corinna Vinschen
corinna-cygwin@cygwin.com
Tue Jan 7 15:38:00 GMT 2014
On Dec 27 23:46, Buchbinder, Barry (NIH/NIAID) [E] wrote:
> Corinna Vinschen sent the following at Thursday, December 26, 2013 1:32 PM
> >On Dec 26 11:11, Max Polk wrote:
> >> From the bash shell, sitting in the C:\Windows\System32\drivers
> >> directory, when I run "ls" I can see about 6 files/dirs total. The
> >> "etc" directory is mysteriously missing from the output of "ls", but
> >> present in the output of "ld -ld etc". Strange that I can't list it
> >> with "ls", but I can list it with "ls -ld".
> >
> >You're running 32 bit Cygwin on 64 bit Windows. See
> >http://msdn.microsoft.com/en-us/library/windows/desktop/aa384187%28v=vs.85%29.aspx
>
> Might it be possible and worth the programming effort for System32 and
> SysWOW64, as appropriate, to automatically mounted via Sysnative by
> cygwin1.dll? (Not a request - and I cannot contribute a patch.)
It's not required at all. The Sysnative dir is a virtual directory
name which gets redirected to the real 64 bit System32 dir by the
kernel when running under WOW64. Just do
$ cd /cygdrive/c/Windows/Sysnative
and you will end up in the 64 bit System32 dir, even if an `ls' in
the Windows parent dir won't show this directory.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20140107/d984c85f/attachment.sig>
More information about the Cygwin
mailing list