sidux.com
Menu

News

Give back
Last 3 Contributions
30-11-2008 20.00
25-11-2008 100.00
25-11-2008 20.00

Donate


Sponsor
hetzner.de

Languages
Preferred language:



Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
Dutchy
Post subject: Removal of iocharset=utf8 in fstab for FAT system  PostPosted: Jul 16, 2007 - 11:26 AM



Joined: Feb 22, 2007
Posts: 477
Location: The Netherlands
Status: Offline
I suggest that the iocharset=utf8 be removed from the entry in /etc/fstab that rebuildfstab creates. The reason is because this creates a case sensative file system where there really isn't one, and can cause problems with Windows reading the partitions later.

For example if I have a file called apple.txt and then save a file called Apple.txt, then I have two files. Fine. That is how it is supposed to work under Linux. But, when I look at the directory from the Windows side of the same machine, I see both, but cannot access both. I also cannot delete them because Windows is too stupid to know which one of the two to delete.

Needless to say, removing iocharset=utf8 will solve this problem, keeping the file system unsensitve to case.
 
 View user's profile Send private message  
Reply with quote Back to top
Richard
Post subject: RE: Removal of iocharset=utf8 in fstab for FAT system  PostPosted: Jul 16, 2007 - 02:40 PM



Joined: Dec 05, 2006
Posts: 496
Location: Venezuela
Status: Offline
+1
for removal of the following:
::: iocharset=utf8 on fat & nls=utf8 on ntfs

I already did it but it would be nice not to have to do it. Smile

_________________
ourea-xfce, 2.6.26-5.slh.6-sidux-686, krusader
 
 View user's profile Send private message  
Reply with quote Back to top
DeepDayze
Post subject: RE: Removal of iocharset=utf8 in fstab for FAT system  PostPosted: Jul 16, 2007 - 04:08 PM



Joined: Dec 02, 2006
Posts: 1909

Status: Offline
perhaps rebuildfstab needs to be changed to fix that buglet?
 
 View user's profile Send private message  
Reply with quote Back to top
kelmo
Post subject: RE: Removal of iocharset=utf8 in fstab for FAT system  PostPosted: Jul 21, 2007 - 11:48 PM



Joined: Dec 19, 2006
Posts: 1030

Status: Offline
We commited this patch:

Code:

Index: rebuildfstab
===================================================================
--- rebuildfstab        (revision 9237)
+++ rebuildfstab        (working copy)
@@ -336,11 +336,12 @@
 {
        # now we scan all existing partitions, as detected by scanpartitions

-       unset iocs nls
+       unset iocs nls utf8

        if [ "$(locale charmap)" = "UTF-8" ]; then
                iocs=",iocharset=utf8"
                nls=",nls=utf8"
+               utf8=",utf8"
        fi

        while read dev_name point fstype relax; do
@@ -378,7 +379,7 @@
                                                pass=0
                                                ;;
                                        vfat)
-                                               options="${options},shortname=mixed,quiet,umask=000${iocs}"
+                                               options="${options},shortname=lower,quiet,umask=000${utf8}"
                                                pass=0
                                                ;;
                                        swap)
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
 
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2006-2008 by sidux e.V., 10407 Berlin, Kniprodestr. 104. sidux e.V. is a Berlin, Germany based non-profit foundation. Consult Impressum and Legal Terms for details. sidux™ is Free Software released under the GNU/GPL license and other compatible licenses.
powered by Zikula & Zafenio