Date: Sun, 5 Jul 1998 16:35:05 +0300 (IDT) From: Eli Zaretskii To: Jeff Williams cc: djgpp AT delorie DOT com Subject: Re: Upper/lower case names on floppy In-Reply-To: <199807022110.QAA20159@kendall.> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.