delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/08/22/14:26:55

From: lhall AT rfk DOT com (Larry Hall)
Subject: Re: problem with symbolic links across filesystems
22 Aug 1998 14:26:55 -0700 :
Message-ID: <3.0.5.32.19980821090957.009a95d0.cygnus.gnu-win32@pop.ma.ultranet.com>
References: <9808200939 DOT ZM2327 AT sunsgc DOT dr DOT lucent DOT com>
Mime-Version: 1.0
To: "ChadyS" <sgc AT bighorn DOT dr DOT lucent DOT com>, gnu-win32 AT cygnus DOT com

At 09:39 AM 8/20/98 -0600, ChadyS wrote:
>I have recently started working with the b19.1 version of the cygwin32 tools,
>and I am very much interested in using the symbolic link capability.  I have
>found a problem using symbolic links across filesystems.
>
>Here is the setup:
>directory	d:/da/db
>directory	c:/ca
>
>ln -s d:/da/db c:/ca/cb
>
>If you are in /ca, you can cd to cb without problems.
>
>You can't, however, cd to /ca/cb.  The problem is realpath shows the following
>path for /ca/cb:	/ca/d:/da/db
>
>Does anyone have any suggestions?
>Thanks in advance,
>Steve Chady


Use mounts for c: and d: and then use those UNIX-style paths when mounting.
You won't get the "<drive>:" cruft in the resulting resolution of the link,
which is what you see now and is the cause of your problem.


Larry Hall                              lhall AT rfk DOT com
RFK Partners, Inc.                      (781) 239-1053
8 Grove Street                          (781) 239-1655 - FAX
Wellesley, MA  02482-7797               http://www.rfk.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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