LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Problem with Persian name in vfat partitions -FC4 (https://www.linuxquestions.org/questions/fedora-35/problem-with-persian-name-in-vfat-partitions-fc4-368803/)

sadid 10-01-2005 03:02 PM

Problem with Persian name in vfat partitions -FC4
 
Hello!
This is my first message that i post this site :D .
I am one of your FC4 users and use FC4 inside windows XP (I am biginner in linux)
my native language is Persian(./Kurdish) and I have a problem with Persian name of files in vaft partitions that i mounted those with this code in fstab file:
/dev/hdb1 /mnt/C vfat noouto,users,exec,umask=000 0 0
when I try to creat a folder or file with Persian script recieve this message:
The item can not be renamed
sorry, couldn't rename the ...
*Note:in ext3 partitions i havn't this problem and creat folder with persian name easier and more beutiful than XP (with select suitable font)

paul_e_t 10-02-2005 03:12 PM

for SADID:
sometimes this could indicate that there is a hidden/invisable character in the name (could be a control code). This invisiable character is not showing on the CTR or LCD screen but is there. Try removeing the entry using single character wild card "?" e.g. rm my?name or rm myna?me
Be careful with the * wild card character that is commonly called star since you could wipe out more than you wanted and could damage the system badly.
Always check your permissons and ownership.
Hope this helps

Remember that:
a journey begins with a single step
life is one day at a time

Paul_E_T

sadid 10-02-2005 10:30 PM

Thank You Paul
i can create a folder with Persian script in linux partitions my problem accrued in fat32 partitions
is this(invisible character) mean that i can't create a folder with Persian script in fat32 partitions? or if error accrued for this invisible character why havn't this problem in ext3 partitions?
--i havn't NTFS partitions.

jschiwal 10-03-2005 02:11 AM

Add the option "utf8" to the fstab entry.
The partition will need to be mounted this way or you will just see "?????" for the name.

I tried it out with the Cyrillic Alphabet on a usb drive.

paul_e_t 10-03-2005 02:24 PM

The above post is correct using the expanded character set. Also that's /etc/fstab
For Your Information (FYI) fstab means fs=File System tab=table or put together "file system table" if my brain remembers correctly :>)
You'll have to dig out the documentation to work with /etc/fstab

paul_e_t 10-03-2005 02:41 PM

for SADID reference your post #3:

The control codes or invisable character usually become a problem by typographical errors made with the key board. When one enters the Shift key and by mistake also the "ctrl" key at the same time: the error is produced. However, you can not see the error on the CRT or LCD screen because it's invisable or not displayed.
One way to see any control codes is to cut and paste the text into a file and then do an octal dump. The dump (see program named "od" in documentation) will show the characters in octal and one can interpret the control code (invisable characters)as they are shown in octal.
Errors cause by invisable characters are usually one-time-happenings that do not usually repeat themselves in other documents. So this may not be a solution to the problem as noted.

sadid 10-04-2005 02:51 PM

Thank you my friends!
my problem is solved with add utf8 to fstab file.
Thank


All times are GMT -5. The time now is 09:11 AM.