Windows 2008 access to inetsrv directory

scotttinsley@ups.com scotttinsley@ups.com
Thu Sep 11 14:05:00 GMT 2014


Using the bash shell from a 32-bit Cygwin install on the server, I still see no "sysnative" directory

$ pwd
/cygdrive/c/windows

nrgo947@wdiisn03 /cygdrive/c/windows
$ ls -lad Sy* sy*
drwx------+ 1 SYSTEM           SYSTEM             0 Jul 14  2009 SysMsiCache
drwxrwx---+ 1 TrustedInstaller TrustedInstaller   0 Jul 13  2009 system
-rwx------+ 1 SYSTEM           SYSTEM           219 Jun 10  2009 system.ini
drwxrwx---+ 1 TrustedInstaller TrustedInstaller   0 Aug 18 13:26 System32
drwxrwx---+ 1 TrustedInstaller TrustedInstaller   0 Aug 18 13:26 SysWOW64

nrgo947@wdiisn03 /cygdrive/c/windows

-----Original Message-----
From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On Behalf Of Larry Hall (Cygwin)
Sent: Thursday, September 11, 2014 9:40 AM
To: cygwin@cygwin.com
Subject: Re: Windows 2008 access to inetsrv directory

On 09/11/2014 09:20 AM, scotttinsley@ups.com wrote:
> On this server, there is no sysnative under Windows. From a Windows 
> CMD shell,

'sysnative' is only visible from 32-bit apps.  See <http://msdn.microsoft.com/en-us/library/windows/desktop/aa384187%28v=vs.85%29.aspx>

Specifically:

   32-bit applications can access the native system directory by
   substituting %windir%\Sysnative for %windir%\System32. WOW64 recognizes
   Sysnative as a special alias used to indicate that the file system should
   not redirect the access. This mechanism is flexible and easy to use,
   therefore, it is the recommended mechanism to bypass file system
   redirection. Note that 64-bit applications cannot use the Sysnative alias
   as it is a virtual directory not a real one.

Unless you made sure that the CMD shell you're running is the 32-bit version, it won't see sysnative.  As I mentioned before, this is not a Cygwin-specific issue.

If your goal is to be able to see and work seamlessly with other 64-bit apps and Cygwin, you may find less difficulty if you install the 64-bit version of Cygwin.

--
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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


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



More information about the Cygwin mailing list