delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/05/16/19:17:14

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
Message-ID: <3CE43CC4.3010108@elegant.nl>
Date: Fri, 17 May 2002 01:12:04 +0200
From: Gilgamesh Nootebos <Gilgamesh DOT Nootebos AT elegant DOT nl>
Reply-To: cygwin <cygwin AT cygwin DOT com>
Organization: The Elegant Group
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0rc1) Gecko/20020417
X-Accept-Language: nl, en-us
MIME-Version: 1.0
To: cygwin <cygwin AT cygwin DOT com>
Subject: Re: umount doesn't umount
References: <Pine DOT GSO DOT 4 DOT 30L DOT 0205161845510 DOT 18568-100000 AT scrubbing-bubbles DOT mit DOT edu>

David E Euresti wrote:

> 
> I think it doesn't like the colon.  Any ideas?
> 

W2K PRO NL shows this:

D:\temp>mkdir foo:bar
De mapnaam is ongeldig.

D:\temp>

Which is Dutch for: "The directory name is invalid"

IIRC a ':' is only valid when adressing a Drive and cannot be used in 
Directory names

Creating a mount wich points to such a name(mount doesn't care if there 
is a physical directory to point to or not) sounds to me as a highly 
dangerous thing to do. Just like depending on case sensitive names to 
make a difference on *nix, which Windows(all of them) doesn't support 
and your environment breaks as a result of that. As a result of a : 
being somewhere where it shouldn't be, it doesn't surprise me that 
umount doesn't know what to do with it(I havent't read the source so I'm 
assuming that the result is 'undefined') and fails.

Using things like $ or # or any other valid characters in your filenames 
just isn't worth all the trouble it gets you in when trying to use 
scripts on them. It's a hell trying to escape things correctly and 
trying to prevent something from interpreting them.

These are just my EUR 0.02

Gilgamesh

-- 
Gilgamesh Nootebos (Elegant Relational Development)
@: Gilgamesh DOT Nootebos AT elegant DOT nl
T: +31 36 54 77 100


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