Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
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.
I have a UTF-8 Ubuntu 7.04 installation with KDE 3.5.8 on a Dell Inspiron E1505/6400. When I connect the SD card from my Nokia 6288 to the computer via USB memory card reader, the filenames have all non-ASCII characters replaced with question marks. So I need to add a mount option such that the card will always be mounted as a specific iocharset and codepage. However, I do not want this mount option to affect other USB memory sticks/cards.
In your case you would use different encoding options in the fstab entry and your particular UUID number. My main point is that this entry is unique for that particular SD card. The noauto option will prevent the system from trying to mount it when you boot up. The "user" or "users" option will allow you to mount it as a normal user. You might want to use the fmask and dmask options as well to change the permissions. On this computer, with the appropriate fmask and dmask values, such as "fmask=077,dmask=077" it will only be readable by you and root.
Check if the character set is supported by the kernel:
zcat /proc/config.gz | grep ISO8859_8
If so modprobe the "nls_iso8859_8" module. Even though there isn't an nls_iso8859_8.ko kernel module, "sudo /sbin/modprobe nls_iso8859_8" should work, and the kernel module "nls_cp1255" will be used instead.
If you use "fmask=111,dmask=000" all users will be able to read the disk.
I'm not sure what happened, but now the card automatically mounts, and even in the proper charset! I have not made any changes since yesterday, when the card wouldn't even automount. We will see how long the situation stays this way, as in the meantime I don't have to fix anything. Tell me, though, while it is properly mounting, where can I check the mounted parameters, so if I ever have to reproduce them I will know what values to use?