|
|
Rockbox mail archiveSubject: Re: disk write testingFrom: Björn Stenberg (bjorn_at_haxx.se) Date: 2002-11-06
Greg Haerr wrote:
Sounds good. I'm curious to see how you've solved it.
> Lseek shouldn't be mucking around performing data file i/o, other than
Actually it does work. You seem to be reading old code.
> Why is seeksector decremented as the first statement?
Quoting the source:
if (seeksector) {
The reason for the change is that we cannot store nextsector when writing, since it would mean allocating a new cluster before we know if we need one.
-- Björn
Page was last modified "Mar 9 2008" The Rockbox Crew |