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

X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
References: <f2por8$as9$1 AT sea DOT gmane DOT org> <46506BA1 DOT C3502CCD AT dessent DOT net> <0a3801c79af6$c32395b0$2e08a8c0 AT CAM DOT ARTIMI DOT COM> <46507312 DOT 2EDBD2A5 AT dessent DOT net>
Subject: RE: How to uniformly point to the root of a drive?
Date: Sun, 20 May 2007 17:16:43 +0100
Message-ID: <0a3901c79afa$41cf13a0$2e08a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <46507312.2EDBD2A5@dessent.net>
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

On 20 May 2007 17:11, Brian Dessent wrote:

> Dave Korn wrote:
> 
>>   This relies on the mountpoints being set correctly, which might not work
>> if your drive letter changes ...
> 
> Well if that is the case and / points to the wrong dir then I don't see
> how you can be using Cygwin at all,

  I'm not sure exactly what Thorsten is looking for in his original question,
so I don't know if it's relevant here or not, but it might be useful for a
portable installation to have a way to detect the drive letter so as to be
able to (re)assign the mountpoints (e.g. from Cygwin.bat) before starting up a
shell or other cygwin app.  USB stick drive letters change very often...

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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