delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/09/25/00:10:43

From: andrewd AT axonet DOT com DOT au (Andrew Dalgleish)
Subject: RE: Update/more questions on mount points
25 Sep 1998 00:10:43 -0700 :
Message-ID: <91A8FD196436D1118EC2006008186C960D9350.cygnus.cygwin32.developers@server1.axonet.com.au>
To: cygwin32-developers AT cygnus DOT com

> Installer should create /q or /mnt/q in the global mount table for all
> local drives. The same for /dev/fdX, /dev/stX etc.
[Andrew Dalgleish]  
This can cause problems with removable drives.
I mount some (not all) drives under "/drive".
If the CDROM is empty and I get things like this.
18$ ls /drive
ls: /drive/e: Permission denied
c/  v/
19$


I suggest only automatically mounting a drive when it is first
*accessed* using a win32 path (even if it is in the search path).
I use SUBST drives a lot, but I don't want to see them all mounted.
(I don't want to see them in Explorer either, but there's not much I can
do about that.)


There is also a question of which mount to use if there is more than one
win32->posix translation possible.
eg if I mount U: (my root) as "/" and also as "/drive/u", I get
"/drive/u" in $PATH instead of just "/". 
I guess this is just a search-order thing, but I was surprised that it
didn't use the shortest translation.


- Raw text -


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