Help answer threads with 0 replies.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 07-21-2008, 09:29 PM   #1
Registered: Aug 2005
Posts: 298

Rep: Reputation: 30
capital letters on Fat32

I have a fat32 partition, and I want to use autotools on some libraries/packages on it. Specifically a game. I've been working on a game and really would like to share it.

The problem is when using autotools, I need to make README, and other files in capital letters, and some with varying case. The autotools(automake) complain that the file system can't "agree" on case and everytime I try to make README, it becomes "readme" (not same case).

What are somethings I can do?

Thank you
Old 07-21-2008, 09:32 PM   #2
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
I'm not really sure. My understanding has always been that FAT32 simply ignores case in filenames, so that "file" and "FiLe" would be the same thing.

At the same time, I have never had a problem naming a file in capitals. It generally stays whatever you originally name it, the only problem comes when you want to change the capitalization of the filename, as it will complain the file already exists. Are you mounting the filesystem as vfat?
Old 07-21-2008, 09:38 PM   #3
Registered: Aug 2005
Posts: 298

Original Poster
Rep: Reputation: 30
Yes, I'm mounting it as vfat.


I found a sollution here

In Summery:

Open /etc/fstab
find the line related to that partition
in the 4'th column where the options are e.g. defaults,users... simply add shortname=mixed

/dev/sda1               /mnt/windows            vfat    shortname=mixed,defaults,users,exec,noatime,sync        1 0

Last edited by Four; 07-21-2008 at 09:54 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
e-mail to user name in capital letters y575 Linux - Networking 2 01-26-2007 01:49 AM
command line and CAPITAL letters.... tweakerxp Linux - Software 4 12-29-2005 10:46 AM
How to preserve capital letters? kosa Linux - General 1 07-14-2005 01:44 PM
usernames with capital letters in RH9 orange400 Linux - General 2 04-27-2004 05:57 AM
capital letters at the console alim Slackware 5 04-25-2002 01:32 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:28 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration