开发者

udev pen drive filename length

开发者 https://www.devze.com 2023-04-11 10:12 出处:网络
I have a problem with mounting pen drive using udev. I am working in an ar开发者_如何学运维m development platform and installed udev successfully. My udev rules are as follow.

I have a problem with mounting pen drive using udev. I am working in an ar开发者_如何学运维m 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?


First off, make sure you are mounting with filesystem type vfat -- and make sure your kernel is compiled to offer VFAT support (it's a sub-option of fat).

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号