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:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Location of database .tcd files
« previous next »
  • Print
Pages: [1]

Author Topic: Location of database .tcd files  (Read 1749 times)

Offline MarcGuay

  • Rockbox Expert
  • Member
  • *
  • Posts: 1065
Location of database .tcd files
« on: April 23, 2008, 07:58:50 PM »
Is there any particular reason the datbase *.tcd files are located in the base of the .rockbox directory?  It seems that it's often that case that when the database gets corrupted or has other problems the recommended solution is to delete these files, and it would seem wise to me, for this reason and for simply keeping the base clean, to move them into a separate .rockbox/database directory, which could easily be deleted.  If there's no particular reason for it I'll post a request on flyspray.
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: Location of database .tcd files
« Reply #1 on: April 23, 2008, 08:05:23 PM »
I doubt there's any necessity to it.  I don't see why it wouldn't be just as easy for the database code to retrieve data from your proposed location. 
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Location of database .tcd files
« Reply #2 on: April 23, 2008, 08:25:57 PM »
That being said, there really should never be a need to delete them manually. Initialize Now should handle it.
Logged

Offline LinusN

  • Member
  • *
  • Posts: 1914
Re: Location of database .tcd files
« Reply #3 on: April 24, 2008, 01:59:19 AM »
Or even better, we should fix the bugs in the database, so you won't even need to reinitialize.
Logged
Archos Jukebox 6000, Recorder, FM Recorder/iAudio X5/iriver H1x0, H3x0/Toshiba Gigabeat F20/iPod G5, G5.5

Offline onkel_enno

  • Member
  • *
  • Posts: 21
Re: Location of database .tcd files
« Reply #4 on: April 24, 2008, 03:16:41 AM »
Quote from: LinusN on April 24, 2008, 01:59:19 AM
Or even better, we should fix the bugs in the database, so you won't even need to reinitialize.

That would be the best  ;D

I use a modified version of
http://www.rockbox.org/tracker/task/7539
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Location of database .tcd files
 

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

Page created in 0.095 seconds with 15 queries.