This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Need help in umounting the auto mounted mount points


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@jgcomp.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]