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 December 2004, 02:51 PM
jccheng Offline
Registered User
 
Join Date: Dec 2004
Age: 34
Posts: 40
preserve all upper case filenames on vfat?

Is it possible to preserve all upper filenames on a vfat mount? For example, if I want to name a file "FOO", it gets changed to "foo". Is there a mount option that would allow me to do this? My fstab entry looks like this:
/dev/hdc5 /mnt/win_d vfat defaults,umask=0 0 0 0 0
Any advice would be greatly appreciated.
Reply With Quote
  #2  
Old 3rd December 2004, 12:17 AM
Jman Offline
Registered User
 
Join Date: Mar 2004
Location: Minnesota, USA
Age: 27
Posts: 7,909
Right from the mount man page:
Quote:
check=value
Three different levels of pickyness can be chosen:

r[elaxed]
Upper and lower case are accepted and equivalent, long
name parts are truncated (e.g. verylongname.foobar
becomes verylong.foo), leading and embedded spaces are
accepted in each name part (name and extension).

n[ormal]
Like "relaxed", but many special characters (*, ?, <,
spaces, etc.) are rejected. This is the default.

s[trict]
Like "normal", but names may not contain long parts and
special characters that are sometimes used on Linux, but
are not accepted by MS-DOS are rejected. (+, =, spaces,
etc.)
and
Quote:

shortname=[lower|win95|winnt|mixed]

Defines the behaviour for creation and display of filenames
which fit into 8.3 characters. If a long name for a file exists,
it will always be preferred display. There are four modes:

lower Force the short name to lower case upon display; store a
long name when the short name is not all upper case.

win95 Force the short name to upper case upon display; store a
long name when the short name is not all upper case.

winnt Display the shortname as is; store a long name when the
short name is not all lower case or all upper case.

mixed Display the short name as is; store a long name when the
short name is not all upper case.

The default is "lower".

Last edited by Jman; 3rd December 2004 at 12:21 AM.
Reply With Quote
  #3  
Old 3rd December 2004, 02:34 AM
jccheng Offline
Registered User
 
Join Date: Dec 2004
Age: 34
Posts: 40
Thanks for the tip! Worked like a charm.
Reply With Quote
Reply

Tags
case, filenames, preserve, upper, 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
Samba Workgroup Lower/Upper Case Snpbond Using Fedora 3 25th November 2007 05:35 PM
FAT32 case insensitive directory names (but trying to preserve case) Wangberg Using Fedora 4 13th October 2007 11:38 PM
Upper/lower case filenames on CD-ROM Seehund Using Fedora 3 6th September 2006 02:03 PM
mkdir won't upper case kevinstembridge Using Fedora 5 10th December 2005 02:17 PM
lower:upper case filename on FAT filesystem ricobelo Using Fedora 0 11th November 2004 11:59 PM


Current GMT-time: 05:06 (Tuesday, 18-06-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