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? |
|
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.... |
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. |
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.
|
Quote:
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. |
Quote:
Quote:
|
All times are GMT -5. The time now is 09:16 PM. |