www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/05/11:19:20

Date: Sun, 5 Jul 1998 16:35:05 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Jeff Williams <jeffw AT darwin DOT sfbr DOT org>
cc: djgpp AT delorie DOT com
Subject: Re: Upper/lower case names on floppy
In-Reply-To: <199807022110.QAA20159@kendall.>
Message-ID: <Pine.SUN.3.91.980705163446.23984b-100000@is>
MIME-Version: 1.0

On Thu, 2 Jul 1998, Jeff Williams wrote:

> When I copy files from my DJGPP system to the floppy (using cp), my Sun
> sees the file and directory names in all capital letters.  Is it
> possible to get my DJGPP setup to write "lower case" names to the
> floppy, or is the automatic capitalization an unavoidable DOSism?

Floppies written by DOS have their directory entries in caps.  No
program can do anything about that, it's a ``feature'' of the FAT
filesystem.  (The fact that DJGPP libc functions return file names in
lower case is a courtesy of the low-level functions in the DJGPP
library, since DOS returns the names in caps.)

You didn't tell how did you read the floppy on the Sun side.  Some
Unix programs which read DOS floppies have an option to down-case the
file names automatically.  One such package is mtools, available from
the GNU FTP sites.

- Raw text -


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