![]() |
udev pen drive filename length
Hi,
I have a problem with mounting pen drive using udev. I am working in an arm development platform and installed udev successfully. My udev rules are as follow. BUS=="usb", ID=="1-1", KERNEL=="sd?1", NAME="pen1" What I want here is to assign node "pen1" whenever a pen is mounted to port "1-1". udev works fine but when I mount using "mount /dev/pen1 /mnt" and access the content, the filenames appear corrupted and show only 8 bits. eg: myfilename.mp3 is replaced with myfile~e.mp3 what should I do? |
What file system is your pen drive using?
jdk |
Hi jdk,
It is vfat. |
Maybe that's causing the file mangling that you observe. Is there any reason to use vfat rather than another file system?
jdk |
Hi jdk,
apparently I can't use other fs. anyway I used udev-110 which is a quite older version. Can't it be a problem? |
Quote:
What makes you think you can't use another fs on the pen drive? ciao, jdk |
Hi jdk,
It was a problem with mount command.After adding -vfat argument in to my mount command problem solved.so thank you very much for your advices. I learnt a lot from you. |
I'm glad to have helped. Please use the Thread Tools above your first post to mark this thread as "SOLVED".
thanks, jdk |
| All times are GMT -5. The time now is 12:48 PM. |