Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-18-2006, 10:41 AM
|
#1
|
Member
Registered: Jan 2006
Distribution: Slackware 10.2
Posts: 45
Rep:
|
VFAT partition in Linux is weird.
Hi,
Let's say I have a vfat partition and I did the following command:
#mkdir UPPERCASE
Yet, the folder created is "uppercase" instead.
Is it just me? Or is that some vfat behaviour?
|
|
|
02-18-2006, 11:06 AM
|
#2
|
Member
Registered: Nov 2005
Location: Columbus, OH, USA
Distribution: Slackware
Posts: 246
Rep:
|
|
|
|
02-18-2006, 11:12 AM
|
#3
|
Member
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 866
Rep:
|
I can confirm this behaviour in Debian.
However, if you do the same in a shell from KDE then the case you use is retained. Strange....
|
|
|
02-18-2006, 12:25 PM
|
#4
|
Member
Registered: Apr 2005
Location: Oklahoma, USA
Distribution: Slackware
Posts: 942
|
Case is always conserved for me: console, Konsole, Konqueror, and stuff created in Windows. My /etc/fstab looks like this:
/dev/hda7 /vfat vfat auto,rw,umask=000 1 2
Edit: it only conserves case when there's a mix of upper and lowercase.
Last edited by drumz; 02-18-2006 at 12:26 PM.
|
|
|
02-18-2006, 01:01 PM
|
#5
|
Senior Member
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 current
Posts: 1,649
Rep: 
|
I recently had to deal with this, too. It seems you can use upper and lower letters. So a "cd UPPERCASE" should have the same effect as "cd uppercase" or similar commands.
|
|
|
02-18-2006, 05:30 PM
|
#6
|
Senior Member
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482
|
I think this table criterion is misleading. I suspect the meaning of that table is that commands from the command line are case insensitive. For example, as mentioned above, a cd UPPERCASE and cd uppercase command will function exactly the same. With respect to file names and directories, I use mixed case on my shared FAT32 partition with no issues.
Working with the FAT32 file system from with GNU/Linux is a challenge and some oddball fstab settings have helped me. Here is my shared FAT32 entry in my fstab:
# # # Shared FAT32 Partition # # #
/dev/hda10 /mnt/nt_o vfat uid=username,gid=users,umask=0000,noatime,check=s,shortname=winnt 0 0
Please be sure to modify the previous example with a correct user name for your box. I can't recall at the moment why I had to add the uid parameter, but I think the reason had to do with certain errors I would experience if root possessed ownership and as mortal user I tried any kind of file operation dealing with modifications of permissions or meta data, such as an embedded chmod operation.
The check=s parameter forces the kernel to use strict file naming conventions. The shortname parameter modifies how long names and short names will be created.
There are other fat and vfat options listed in the mount man page that might help you further.
|
|
|
02-18-2006, 08:38 PM
|
#7
|
Member
Registered: Nov 2005
Location: Columbus, OH, USA
Distribution: Slackware
Posts: 246
Rep:
|
Quote:
Originally Posted by Woodsman
I think this table criterion is misleading. I suspect the meaning of that table is that commands from the command line are case insensitive.
|
I would've thought that'd be more up to the OS, shell, or whatever is interpreting the typed command. Either way, I have no FAT32 disks to test this with. I was probably thinking of the FAT16 on my camera's SD cards (still "vfat") that's definately case-insensitive. D'oh.
Quote:
Originally Posted by Woodsman
# # # Shared FAT32 Partition # # #
/dev/hda10 /mnt/nt_o vfat uid=username,gid=users,umask=0000,noatime,check=s,shortname=winnt 0 0
|
Thanks for the useful info.
|
|
|
All times are GMT -5. The time now is 05:32 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|