delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
Date: | Wed, 17 Jul 2002 13:09:13 -0400 (EDT) |
From: | David E Euresti <davie AT MIT DOT EDU> |
To: | <cygwin AT cygwin DOT com> |
Subject: | Symlink destinations question |
Message-ID: | <Pine.GSO.4.30L.0207171242250.2317-100000@magic-pi-ball.mit.edu> |
MIME-Version: | 1.0 |
Hello, I have a quick question. I couldn't find the answer in the list. In unix when I cd into a symlink then pwd I get the directory of where I land, not how I got there. so sometimes "cd link; cd .." doesn't bring you back to the same place. I want to place some symlinks into a Network drive that point to other networks drives. Unfortunately when I cd into it, every time I ls it goes back to the original Network drive to check that symlink. Here let me explain it better. /driveE points to a network Drive on the other side of the world. /driveF is a network drive next door. /driveE/myFiles is a symlink to /driveF so when I cd /driveE/myFiles I'm actually communicating with /driveF. However my pwd is still /driveE/myFiles this means that anytime I run a command from this directory or any of its children it checks what the symlink to myFiles is. Sending various lookup and read messages to the other side of the world. Is there any way to tell cygwin, once you've crossed a link forget about where you came from? By the way this example is meant to be innane. It's not exactly what I'm trying to do. Thanks, David -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |