delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/11/24/18:35:25

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=3.0 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,FSL_RU_URL,KAM_THEBAT,TW_YG
X-Spam-Check-By: sourceware.org
Date: Thu, 25 Nov 2010 02:34:58 +0300
From: Andrey Repin <anrdaemon AT freemail DOT ru>
Reply-To: Andrey Repin <cygwin AT cygwin DOT com>
Message-ID: <1771855345.20101125023458@mtu-net.ru>
To: Pierce Morton <pierce DOT c DOT morton AT gmail DOT com>, cygwin AT cygwin DOT com
Subject: Re: cygpath unable to translate the *nix path to an NTFS junction point
In-Reply-To: <AANLkTik=XQP9y3uCmcr4NMva82V4bZ3x=7yFNBe4R=G6@mail.gmail.com>
References: <AANLkTik5e=pvzaqW+Rxq33NQu1AyaAq3uLmZD3Cb8s5N AT mail DOT gmail DOT com> <999310079 DOT 20101124040916 AT mtu-net DOT ru> <AANLkTik=XQP9y3uCmcr4NMva82V4bZ3x=7yFNBe4R=G6 AT mail DOT gmail DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes
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

Greetings, Pierce Morton!

>> However, the real reparse points mounting different volumes...
>>
>> [C:\]$ uname -a
>> CYGWIN_NT-5.1 daemon2 1.7.7(0.230/5/3) 2010-08-31 09:58 i686 Cygwin
>> [C:\]$ dir C:\ | grep arc
>> 2010-11-22  12:16    <JUNCTION>    arc
>>
>> [C:\]$ cygpath -w /c/arc
>> C:\arc
>>
>> Real junction target: \\?\Volume{4aee6480-972b-11de-b8ca-0015f2ef1bb5}\arc
>>

> That's interesting, but I'm not doing anything as complex as linking
> across volumes.

> In your case ... perhaps cygpath should attempt to match volume names
> to see whether that volume has a real drive letter,

It don't have any :)
Neither the root of that volume is mounted anywhere.
Probably the only advantage of NTFS over *NIX mounts...

> then substitute into the generated path as necessary?


--
WBR,
 Andrey Repin (anrdaemon AT freemail DOT ru) 25.11.2010, <2:32>

Sorry for my terrible english...


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