嵌入式linux文件名长度 [英] Embedded linux filename length

查看:215
本文介绍了嵌入式linux文件名长度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用手臂开发平台。在那里我安装了udev,它的工作完美。但是当我安装一个笔记本驱动器并看到文件内容时,所有文件和文件夹的名称超过8个字符已被〜字符替换。
例如:myfilename.mp3被替换为myfile〜e.mp3



在udev安装之前它运行良好。 (所有文件名正常显示)。
我该怎么办?



谢谢。

解决方案

p>这与Linux中的文件名长度限制无关。这是因为这个驱动器被安装为FAT16。检查FAT32是否受支持,并尝试以这种方式挂载(请参阅 /etc/udev/rules.d/ 中的udev规则)。


I am using an arm development platform. There I installed udev and it works perfect. But when I mount a pen drive and see the file content all files and folders with names having more than 8 chars have been replaced with "~" char. eg: myfilename.mp3 is replaced with myfile~e.mp3

Before udev installation it worked well. (All file names appeared normally). What should I do?

thank you.

解决方案

This is not related to filename length limitation in Linux. This happened because this drive was mounted as FAT16. Check if FAT32 is supported and try mount it this way (check udev rules in /etc/udev/rules.d/).

这篇关于嵌入式linux文件名长度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆