Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  can't copy if filename includes ":" or "?"
« previous next »
  • Print
Pages: [1]

Author Topic: can't copy if filename includes ":" or "?"  (Read 4175 times)

Offline nachtigall

  • Member
  • *
  • Posts: 3
can't copy if filename includes ":" or "?"
« on: December 12, 2006, 03:45:47 PM »
If a filename of a file contains a ":" (colon) or "?" (question mark) then I cannot copy it over to the rockboxed iriver H140

Code: [Select]
$ 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


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?
Logged

Offline LinusN

  • Member
  • *
  • Posts: 1914
Re: can't copy if filename includes ":" or "?"
« Reply #1 on: December 12, 2006, 04:09:01 PM »
This is a limitation of the FAT32 file system. You have to live with it. It has absolutely nothing to do with Rockbox.
Logged
Archos Jukebox 6000, Recorder, FM Recorder/iAudio X5/iriver H1x0, H3x0/Toshiba Gigabeat F20/iPod G5, G5.5

Offline bk

  • Member
  • *
  • Posts: 266
Re: can't copy if filename includes ":" or "?"
« Reply #2 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.
« Last Edit: December 12, 2006, 04:42:41 PM by bk »
Logged

Offline nachtigall

  • Member
  • *
  • Posts: 3
Re: can't copy if filename includes ":" or "?"
« Reply #3 on: December 12, 2006, 05:44:54 PM »
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.

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).
Logged

Offline LinusN

  • Member
  • *
  • Posts: 1914
Re: can't copy if filename includes ":" or "?"
« Reply #4 on: December 12, 2006, 05:49:47 PM »
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).
Logged
Archos Jukebox 6000, Recorder, FM Recorder/iAudio X5/iriver H1x0, H3x0/Toshiba Gigabeat F20/iPod G5, G5.5

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: can't copy if filename includes ":" or "?"
« Reply #5 on: December 12, 2006, 06:01:34 PM »
Just make sure the files are properly tagged and then use Database if you *really* must see the question marks in the tree, instead of just the WPS.
Logged

Offline nachtigall

  • Member
  • *
  • Posts: 3
Re: can't copy if filename includes ":" or "?"
« Reply #6 on: December 13, 2006, 01:06:32 AM »
Quote from: Llorean on December 12, 2006, 06:01:34 PM
Just make sure the files are properly tagged and then use Database if you *really* must see the question marks in the tree, instead of just the WPS.

That's not the problem. I do not need to see the question marks or colons, but they are in the filename, meaning after ripping or also very often in podcasts, e.g. "joe user explains: love (episode 1)" (to stick with this kind of example ;-). So I guess the ipod can handle such filenames

So what does that mean, I need to manually rename the files and then copy them over by hand to the rockbox, which is a bit against the idea of subscribing to a podcast, isn't it.

ok, but if it cannot be done, then that's the way it is. Thanks for your quick answers.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: can't copy if filename includes ":" or "?"
« Reply #7 on: December 13, 2006, 01:12:17 AM »
Please, the bold is unnecessary. Itunes renames files when copying them over to the iPod, not even human recognizeable names. I think compared to complete jumbling of the filenames, suggesting that you simply remove the questionmark, or get a syncing program that'll do so for you, is a rather minor request, especially considering it IS a physical limitation of the filesystem. Your logic that suggests the ipod can handle such filenames is flawed because of your assumption that iTunes itself doesn't rename them.
Logged

Offline Yotto

  • Artist
  • Member
  • *
  • Posts: 826
  • Every Silver Lining has a Cloud
    • My Blog
Re: can't copy if filename includes ":" or "?"
« Reply #8 on: December 13, 2006, 03:10:34 AM »
I've never seen a podcast that used ? or : in the filenames, but I suppose they exist.  I'd consider telling the few who DO use them that it is causing you no end of trouble, and suggest they stop.  Any reasonable podcaster would, considering the potential lost audience of not just you, but others who might not be so nice as to tell them it's a problem.

Music, of course, is a bit different, but after you manually fix it the first time, it's never a problem again, so that's far less a big deal than podcasts (which need fixing every time you listen, essentially)
« Last Edit: December 13, 2006, 03:12:08 AM by Yotto »
Logged
Pulp Audio Weekly - Where we talk about News, Reviews, and pretty much anything else we feel like discussing.

Offline Febs

  • Member
  • *
  • Posts: 2701
Re: can't copy if filename includes ":" or "?"
« Reply #9 on: December 14, 2006, 10:33:21 AM »
Quote from: nachtigall on December 13, 2006, 01:06:32 AM
So I guess the ipod can handle such filenames

If by "handle," you mean rename to names like "YMDFE," then yes, the ipod can handle such file names.
Logged
Rockbox Forum Guidelines
The Rockbox Manual
How to Ask Questions the Smart Way
Please do not send me support questions via PM.

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  can't copy if filename includes ":" or "?"
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.104 seconds with 15 queries.