delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/07/16/12:04:41

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Fri, 16 Jul 2010 18:04:24 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Win64 FS redirectors and Cygwin
Message-ID: <20100716160424.GA26047@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <4C406FFF DOT 5040106 AT users DOT sourceforge DOT net> <20100716152201 DOT GB24200 AT calimero DOT vinschen DOT de> <4C40778C DOT 9040002 AT users DOT sourceforge DOT net> <20100716160131 DOT GG6944 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
In-Reply-To: <20100716160131.GG6944@calimero.vinschen.de>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Jul 16 18:01, Corinna Vinschen wrote:
> On Jul 16 23:15, JonY wrote:
> > On 7/16/2010 23:22, Corinna Vinschen wrote:
> > >On Jul 16 22:43, JonY wrote:
> > >>Hi,
> > >>
> > >>While working with bash auto-completion in C:\Windows\System32, I
> > >>noticed that win64 FS redirectors are not disabled.
> > >>
> > >>This caused some strangeness from the user perspective, but Cygwin
> > >>is a normal Win32 program from Window's perspective.
> > >>
> > >>Should FS redirection be disabled for Cygwin? Or at least a way to
> > >>disable it?
> > >
> > >No.  Just use /cygdrive/c/Windows/Sysnative as path to the 64 bit
> > >binaries.
> > >
> > 
> > Thanks, I didn't know ls works with sysnative too.
> 
> It's a valid OS path.  The unfortunate side effect of its virtuality is
> that it's not listed in a readdir call, so file completion doesn't work.
> However, there's a funny workaround.  Just start an elevated bash:
> 
>   $ cd /cygdrive/c/Windows
>   $ export CYGWIN=winsymlinks
>   $ ln -s temp-file-name sysnative
>   $ cmd /c ren temp-file-file.lnk sysnative.lnk

s/temp-file-file/temp-file-name/


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019