Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 2nd March 2007, 01:30 AM
melonakos Offline
Registered User
 
Join Date: Feb 2007
Posts: 13
fstab mount of vfat partition: converts all directories to lowercase

Hello,

I have the following line in my /etc/fstab file which properly mounts my vfat partition. However, in the mount, it automatically converts all uppercase directory and filename to lowercase. How can I disable this? It reeks havoc with things like 'CVS' directories, which become 'cvs'.

/dev/sda5 /data vfat umask=0000,dmask=0000,uid=500,gid=500 0 0

I've already tried the following, which was unsuccessful:

/dev/sda5 /data vfat umask=0000,dmask=0000,uid=500,gid=500,map=off 0 0

Thanks,

John
Reply With Quote
  #2  
Old 2nd March 2007, 01:39 AM
Seve's Avatar
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,376
Hello:
Seems odd behaviour ?
Try this for your entry in your /etc/fstab
/dev/sda5 /data vfat users,defaults,umask=000 0 0

This is how I mount 2 different vfat partitions which were created a long time ago and no changes are made to any directories.

Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
  #3  
Old 2nd March 2007, 01:48 AM
Figment Offline
Registered User
 
Join Date: Jan 2007
Location: New York City
Posts: 109
I have the same problem. The line in fstab is
/dev/hda3 /mnt/data vfat defaults,umask=0000 0 0
and it has trouble with capitalization. However, it is not that everything becomes lowercase, it is only when ALL the letters in the name are supposed to be uppercase that it becomes all lowercase. For instance, "Calculus" stays the same, but "CVS" becomes "cvs". Weird.
__________________
I am a figment of my own imagination.
Smolt Profile
Reply With Quote
  #4  
Old 2nd March 2007, 02:27 AM
melonakos Offline
Registered User
 
Join Date: Feb 2007
Posts: 13
Quote:
Originally Posted by Seve
Hello:
Seems odd behaviour ?
Try this for your entry in your /etc/fstab
/dev/sda5 /data vfat users,defaults,umask=000 0 0

This is how I mount 2 different vfat partitions which were created a long time ago and no changes are made to any directories.

Seve

This did not fix the problem for me :<
Reply With Quote
  #5  
Old 2nd March 2007, 02:27 AM
melonakos Offline
Registered User
 
Join Date: Feb 2007
Posts: 13
Quote:
Originally Posted by Figment
I have the same problem. The line in fstab is
/dev/hda3 /mnt/data vfat defaults,umask=0000 0 0
and it has trouble with capitalization. However, it is not that everything becomes lowercase, it is only when ALL the letters in the name are supposed to be uppercase that it becomes all lowercase. For instance, "Calculus" stays the same, but "CVS" becomes "cvs". Weird.

Yes, that is exactly the behavior that I see....
Reply With Quote
  #6  
Old 2nd March 2007, 02:38 AM
Seve's Avatar
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,376
Hello:
Just for kicks I tried to create a folder named CVS and ..... it somehow became cvs ???
Never notice this behaviour before ?

Time for filing a bug me thinks ?


Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
  #7  
Old 2nd March 2007, 02:54 AM
Seve's Avatar
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,376
Hello:
Upon a little research.....to correct this issue use the following in your /etc/fstab file
/dev/sda5 /data vfat users,defaults,utf8,umask=000 0 0

Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
  #8  
Old 2nd March 2007, 02:58 AM
Figment Offline
Registered User
 
Join Date: Jan 2007
Location: New York City
Posts: 109
I tried that before. It doesn't seem to have any effect for me. Still lowercase.
__________________
I am a figment of my own imagination.
Smolt Profile
Reply With Quote
  #9  
Old 2nd March 2007, 03:04 AM
Seve's Avatar
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,376
Quote:
Originally Posted by Figment
I tried that before. It doesn't seem to have any effect for me. Still lowercase.
Hello:
Yes, you are correct and I spoke too soon, as I rebooted and everything was lower case again ?

Very odd ??

Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
  #10  
Old 15th May 2007, 12:56 AM
melonakos Offline
Registered User
 
Join Date: Feb 2007
Posts: 13
Has anyone yet found a solution to this bug? If not, has anyone submitted it as a bug to FC6 people?
-John
Reply With Quote
  #11  
Old 15th May 2007, 03:59 AM
lmo Offline
Registered User
 
Join Date: Mar 2007
Posts: 1,047
Vfat uppercase and lowercase names is done by an option added to the mount commandline:
Code:
 -o shortname=mixed
Example:
Code:
mount /dev/hda5 /winderz -o shortname=mixed
fstab Example:
Code:
/dev/hde5		/windows		vfat	noauto,shortname=mixed 0 0
The default is pain-in-neck all lowercase

Last edited by lmo; 15th May 2007 at 05:44 AM.
Reply With Quote
  #12  
Old 23rd May 2007, 01:17 AM
Figment Offline
Registered User
 
Join Date: Jan 2007
Location: New York City
Posts: 109
That seems to have done the trick. Many thanks.
__________________
I am a figment of my own imagination.
Smolt Profile
Reply With Quote
  #13  
Old 16th September 2007, 03:00 AM
Figment Offline
Registered User
 
Join Date: Jan 2007
Location: New York City
Posts: 109
Is there a way to make this work with volumes that aren't in the fstab, for example automounting flash drives?
__________________
I am a figment of my own imagination.
Smolt Profile
Reply With Quote
  #14  
Old 16th September 2007, 03:06 AM
Seve's Avatar
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,376
Hello:
The proper way to fix it, which was not mentioned in this thread is to follow the instructions on this post.
http://forums.fedoraforum.org/forum/...d.php?t=165767

Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
Reply

Tags
converts, directories, fstab, lowercase, mount, partition, vfat

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to mount vfat partition with rw access. SplinterOfChaos Using Fedora 7 20th June 2009 03:30 AM
Fstab won't mount my windows Partition deltaFee Using Fedora 1 10th January 2007 05:03 AM
FC5 - Cannot mount partition at boot: fstab ignored T777 Using Fedora 7 29th May 2006 12:36 PM
Crash when I edit fstab to mount vfat drives Hurlant Using Fedora 4 28th June 2005 07:46 AM
How can I mount my vfat partition (FC2)? RandomTask EOL (End Of Life) Versions 3 4th January 2005 07:53 PM


Current GMT-time: 17:45 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat