delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/02/01/16:02:18

From: wayne AT clari DOT net (Wayne Davison)
Subject: RE: dos file names (what should I do)
1 Feb 1997 16:02:18 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <01BC102C.18F13E40.cygnus.gnu-win32@wayned.sc.scruznet.com>
Original-To: "gnu-win32 AT cygnus DOT com" <gnu-win32 AT cygnus DOT com>,
"'Joe Marzot'"
<gmarzot AT baynetworks DOT com>
Encoding: 22 TEXT
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Since various utilities have trouble with the double-slash paths, I 
recommend mounting all your drive letters.  One simple approach would be to 
mount them in the root directory:

	mount d: /d

Unfortunately there are yet bugs in how mounted directories are handled. 
 Have you ever tryed typing "ls /"?  I always get an empty directory 
listing for this or any drive's root dir that is mounted (such as trying 
"ls /d" or even "ls /d/." using the above example).  However, it works fine 
for specifying files.

Note that if you want the mount points to show up in a directory listing, 
you should do a "mkdir /d" before you do the mount.  However, this isn't 
required.

I also think that cygwin.dll should be changed to use some better default 
mounts than //x -- I think that /dev/x (or even /dev/dsk/x) would work 
well.  These things don't have to be short since they can be mounted 
wherever the user wishes.

...wayne..

-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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