Rockbox mail archive
Subject: Re: disk write testing
From: gerald clark (gerald_clark_at_mindspring.com)
They are cleared by tar when they are backed up, and set when the file
That way you can backup only modified files.
Don't mess with this bit if you want directory syncing programs to work
Linus Nielsen Feltzing wrote:
> 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?
Gerald L. Clark
Aero TerraTrike #1
Member: Sky Soaring
Page was last modified "Jan 10 2012" The Rockbox Crew