delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/05/20/11:18:35

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Thorsten Kampe <thorsten AT thorstenkampe DOT de>
Subject: How to uniformly point to the root of a drive?
Date: Sun, 20 May 2007 16:18:07 +0100
Lines: 15
Message-ID: <f2por8$as9$1@sea.gmane.org>
Mime-Version: 1.0
User-Agent: MicroPlanet-Gravity/2.70.2067
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

Hi there,

is there a way to consistently point (in a script for instance) to the 
root of a removable drive (flash drive)?

The root could be /cygdrive/g on one computer and on the other 
/cygdrive/f (I have no control of the drive letters). One solution 
would be to install Cygwin to \ (instead of the standard \cygwin) but 
for clarity's sake I would like to keep the Cygwin stuff in a 
directory of its own.

Any suggestions or hints?


Thorsten


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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