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

Rockbox mail archive

Subject: Re: Safe powerdown feature
From: c s (
Date: 2004-07-27

--- Linus Nielsen Feltzing <> wrote:
> Andreas Stemmer wrote:
> > I just noticed that the safe powerdown feature
> spins up the drive every time
> > before shutting down, even if there's nothing to
> write. Are there any
> > reasons for this behaviour?
> Yes. There is currently no way of knowing if the
> settings have changed
> or not, so we have to write them to disk every time.
> Linus

Since ata_delayed_write is called (indirectly via
settings_save) to update the disk whenever settings
are changed, don't we just need to spin up the disk
only if the delayed_write flag is set, i.e. if a
delayed write is pending?


Do you Yahoo!?
Y! Messenger - Communicate in real time. Download now.

Page was last modified "Jan 10 2012" The Rockbox Crew