delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/06/06/11:54:36

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: Thu, 6 Jun 2002 11:54:21 -0400
From: Jon LaBadie <jcyg AT jgcomp DOT com>
To: Cygwin <cygwin AT cygwin DOT com>
Subject: Re: Need help in umounting the auto mounted mount points
Message-ID: <20020606155421.GB14154@butch.jgcomp.com>
Mail-Followup-To: Jon LaBadie <jcyg AT jgcomp DOT com>, Cygwin <cygwin AT cygwin DOT com>
References: <009701c20cfd$3b60bd10$412e0b93 AT ALAGraman1> <34-1970755336 DOT 20020606103149 AT familiehaase DOT de> <20020606143251 DOT GA13786 AT butch DOT jgcomp DOT com> <134-1948014547 DOT 20020606165050 AT familiehaase DOT de>
Mime-Version: 1.0
In-Reply-To: <134-1948014547.20020606165050@familiehaase.de>
User-Agent: Mutt/1.3.28i

On Thu, Jun 06, 2002 at 04:50:50PM +0200, Gerrit P. Haase wrote:
> Jon schrieb:
> 
> >> You can change the /cygdrive prefix to s.th. else (like '/').
> 
> > Really, did not realize this.  I've always made symlinks
> > for all the drives to /cygdrive/X.
> 
> 
> > Are there any issues, positive or negative, in doing so?
> 
> The issue is they don't show up if you do `ls` in a script or the
> command line.

I just played with this and noticed the non-existant drive letters in /.

Playing some more, I reset the prefix to /cygdrive, made dummy directories
(mount points?) for all my drives, and reset the prefix to /.

Now the fixed drives appear in / and the removable media ones appear
only if media is in the drive.

I also made directories for a couple of non-existing drive letters.  
After reseting the prefix to /, these entries still show in / but
doing an "ls /X" reports them as "no such file or directory".

-- 
Jon H. LaBadie                  jcyg AT jgcomp DOT com
 JG Computing
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)

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

- Raw text -


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