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
| | |-+  Case sensitive filenames?
« previous next »
  • Print
Pages: [1]

Author Topic: Case sensitive filenames?  (Read 2173 times)

Offline riksweeney

  • Member
  • *
  • Posts: 74
    • Parallel Realities
Case sensitive filenames?
« on: January 08, 2007, 06:21:14 AM »
Hi,

Are the file names case sensitive? I thought that Rockbox used FAT32 filesystem, but when I renamed a bunch of songs to capitalize the names and copied them over to my iRiver, none of the files were replaced.

I was using Linux when I did the copy so that might go some way to explaining why the files weren't replaced. Just curious really.

Thanks

Richard
Logged
The Legend of Edgar

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Case sensitive filenames?
« Reply #1 on: January 08, 2007, 06:24:47 AM »
Do you see two of the file in the folder now, or how are you judging that they weren't replaced?
Logged

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: Case sensitive filenames?
« Reply #2 on: January 08, 2007, 06:57:50 AM »
FAT32 isn't really case sensitve. It allows you to use Upper and Lower case interchangeably in the filenames - but you can't have two files called the same things which happen to mix case - the filesystem still sees them as the same filename.
Logged

Read The Manual Please

Offline riksweeney

  • Member
  • *
  • Posts: 74
    • Parallel Realities
Re: Case sensitive filenames?
« Reply #3 on: January 08, 2007, 07:03:48 AM »
Quote from: Llorean on January 08, 2007, 06:24:47 AM
Do you see two of the file in the folder now, or how are you judging that they weren't replaced?

I just used the command line to copy the files (got a script which applies ReplayGain and then copies files that are newer or don't exist). I didn't bother checking it until later and then noticed that I had, say,

I'm not OK
I'm Not OK

I deleted the duplicates but was a bit surprised as I didn't think it'd happen. Oh well.
Logged
The Legend of Edgar

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Case sensitive filenames?
« Reply #4 on: January 08, 2007, 07:22:20 AM »
And this is actual filetree view, and not the database? I notice that you didn't show extensions or anything, and the database can have more than one entry if you "Update" songs, as it's not built to expect songs to actually change once they're on disk and is not wholly reliable in that case.
Logged

Offline pixelma

  • Rockbox Expert
  • Member
  • *
  • Posts: 645
Re: Case sensitive filenames?
« Reply #5 on: January 08, 2007, 07:38:16 AM »
Also...

Do you use dircache?

Since I don't use it myself I don't know how it would behave in such a case but maybe answering that will help to at least find out what's going on.
Logged

Offline riksweeney

  • Member
  • *
  • Posts: 74
    • Parallel Realities
Re: Case sensitive filenames?
« Reply #6 on: January 08, 2007, 08:50:14 AM »
Quote from: pixelma on January 08, 2007, 07:38:16 AM
Also...

Do you use dircache?

Since I don't use it myself I don't know how it would behave in such a case but maybe answering that will help to at least find out what's going on.

The files were just a few OGGs that I changed the capitalisation of. This was using dircache aswell as just the filetree (I don't use the database). I might try doing the same thing using the command line and by dragging the files onto it and see what happens.
Logged
The Legend of Edgar

Offline Yotto

  • Artist
  • Member
  • *
  • Posts: 826
  • Every Silver Lining has a Cloud
    • My Blog
Re: Case sensitive filenames?
« Reply #7 on: January 09, 2007, 03:39:43 AM »
I just did this in linux:

ls > foo
ls > Foo
ls
(showed both files)
cp foo Foo /media/ipod/
(no errors)
ls /media/ipod/
(only "foo" existed)
Logged
Pulp Audio Weekly - Where we talk about News, Reviews, and pretty much anything else we feel like discussing.

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Case sensitive filenames?
 

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

Page created in 0.093 seconds with 15 queries.