dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Re: disk write testing

Re: disk write testing

From: Linus Nielsen Feltzing <>
Date: Wed, 06 Nov 2002 20:16:07 +0100

Greg Haerr wrote:
> : > This does beg the question: Does the JB6K know what time it is?
> There's a tricky way we could get the "time" on the JB.
> Since we only really care about time increments, not the actual
> time, for creating last accessed times and playlists, we could store the
> system "time" in the config file with the other settings, and this
> could be used at boot, incrementing it with a timer interrupt,
> and saving it again at powerdown.

First of all, I'm still not thrilled with the idea of updating the dir
entry for every file access.

Secondly, saving to the hard disk at powerdown time is bound to fail,
especially if the disk isn't spinning.

Otherwise, it's a pretty good idea.

> Another method would be to use the "archive" bit to indicate
> a song has been played...

Perhaps. But when are they cleared?

Received on 2002-11-06

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy