delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/08/09/00:20:21

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: "Jonadab the Unsightly One" <jonadab AT bright DOT net>
Organization: There is no organisation.
To: cygwin AT cygwin DOT com
Date: Thu, 9 Aug 2001 00:18:20 -0400
MIME-Version: 1.0
Subject: Re: Upper/lower case filenames.
Reply-to: jonadab AT bright DOT net
Message-ID: <3B71D6CC.21421.E8350D@localhost>
In-reply-to: <3B71FE17.8B11FEA@usq.edu.au>
X-Eric-Conspiracy: My name is not Eric.
X-Platform: Windows '95 OSR2 (heavily adjusted and customised)
X-mailer: Pegasus Mail for Win32 (v3.12)

# Having just tried Cygwin, I notice that 8.3 filenames which are taken to
# be lower case under Linux are taken as upper case under Cygwin. 

8.3 filenames on FAT filesystems don't *have* case.  They are
case insensitive.  If you want case-sensitive filenames on a 
FAT fs, you have to use LFNs (vfat).  (Even then, relying on 
case on a FAT fs is risky if Windows has access to the 
filesystem; the case may be changed, usually to Mixedcase.)

It is traditional in DOS culture to represent filenames 
and parts of filenames in ALLCAPS in documentation to 
distinguish them from surrounding text.  DIR also represents
them this way.  However, the filenames themselves are not 
even case-preserving, let alone case-sensitive.  

# means that scripts such as "cp *.cpp ..." and makefiles don't work
# unless edited. Is there any reason for this design choice?

Ick, that seems very bad.  Is this really true?  OTOH, it
would be just as bad if uppercase didn't work.  Perhaps
such lossage is an unavoidable consequence of shells being 
designed to deal only with case-sensitive filesystems?  Is 
bash really that narrow-minded?  

-- jonadab

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