delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS,T_RP_MATCHES_RCVD |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | Andrew Schulman <schulman DOT andrew AT epamail DOT epa DOT gov> |
Subject: | Re: Accessing folders elsewhere than C:\cygwin |
Date: | Wed, 09 Feb 2011 10:53:11 -0500 |
Lines: | 21 |
Message-ID: | <8jc5l61kml821buoj6nncpa7lf4sq00sl8@4ax.com> |
References: | <4D52A7DD DOT 7080208 AT bonhard DOT uklinux DOT net> |
Mime-Version: | 1.0 |
X-Archive: | encrypt |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 |
> I have Cygwin mounted conventionally under Q:\cygwin. > I would like to access files under Q:\else. > But (for example) ls ../../.. only ever attains \cygwin (and lower). > I can use ls /cygdrive/q/else/ (and lower) but this means knowing the > drive name (in this case Q:) Well at some level you're going to have to know the drive name - either in the path you specify, or in a mount point or a symlink. > I don't much want to change mount points which are currently > conventionally defined. > Is there a way I can get to Q:\else without knowing the drive name Q:? You don't have to change any existing mount points, but you can add a new one in /etc/fstab, e.g. Q:/else /else some_fs binary 0 0 Or create a symlink: ln -s /cygdrive/Q/else /else -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |