Rockbox General > Rockbox General Discussion
can't copy if filename includes ":" or "?"
nachtigall:
If a filename of a file contains a ":" (colon) or "?" (question mark) then I cannot copy it over to the rockboxed iriver H140
--- Code: ---$ mount
...
/dev/sda1 on /media/IHP100-1 type vfat (rw,noexec,nosuid,nodev,noatime,uid=1000,utf8,shortname=lower)
$ cp "colon:colon" "questionmark?questionmark" /media/IHP100-1/
cp: cannot create regular file `/media/IHP100-1/colon:colon': Invalid argument
cp: cannot create regular file `/media/IHP100-1/questionmark?questionmark': Invalid argument
--- End code ---
From time to time a album (directory name if ripped) or a songname includes a ":" or "?". This is not uncommon, and it is annoying if one has to rename the filename by hand after ripping (left alone that it took me several hours to find out that it is these two symbols that cause the problem).
This is probably because of the vfat filesystem on the H140. Any solution?
LinusN:
This is a limitation of the FAT32 file system. You have to live with it. It has absolutely nothing to do with Rockbox.
bk:
That's often a result of poor unicode support by P2P clients or CD ripping applications (they replace the extended character with '?'). Find better software or configure your existing apps to handle internationalization so you don't have so many filenames with '?' in them.
nachtigall:
--- Quote from: bk on December 12, 2006, 04:41:06 PM ---That's often a result of poor unicode support by P2P clients or CD ripping applications (they replace the extended character with '?'). Find better software or configure your existing apps to handle internationalization so you don't have so many filenames with '?' in them.
--- End quote ---
no, this is because there are songs like "What is love?" ;-) Really a question mark is not something unusual in languages (and therefore songtexts, and hence the ripped filename). How do other fat32 players handle this -- the same simple "not allowed" way?
Anyway, can I format it to ext3? Does rockbox support this?
Or is it possibly on the rockbox side to substitue ? by e.g. _QM_ and : by _CL_, maybe for instance by a layer between cp and the kernel (sounds somewhat cumbersome, i know).
LinusN:
There is nothing we can do. Rockbox is not even involved in the USB transfer.
FAT32 is the only file system Rockbox supports (and likely ever will).
Navigation
[0] Message Index
[#] Next page
Go to full version