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

2nd March 2007, 01:30 AM
|
|
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
|

2nd March 2007, 01:39 AM
|
 |
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 ... :)
|

2nd March 2007, 01:48 AM
|
|
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
|

2nd March 2007, 02:27 AM
|
|
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 :<
|

2nd March 2007, 02:27 AM
|
|
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....
|

2nd March 2007, 02:38 AM
|
 |
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 ... :)
|

2nd March 2007, 02:54 AM
|
 |
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 ... :)
|

2nd March 2007, 02:58 AM
|
|
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
|

2nd March 2007, 03:04 AM
|
 |
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 ... :)
|

15th May 2007, 12:56 AM
|
|
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
|

15th May 2007, 03:59 AM
|
|
Registered User
|
|
Join Date: Mar 2007
Posts: 1,047

|
|
Vfat uppercase and lowercase names is done by an option added to the mount commandline:
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.
|

23rd May 2007, 01:17 AM
|
|
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
|

16th September 2007, 03:00 AM
|
|
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
|

16th September 2007, 03:06 AM
|
 |
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 ... :)
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 17:45 (Sunday, 19-05-2013)
|
|
 |
 |
 |
 |
|
|