Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: max 200 entries in a dir. why?
From: Guy Devos (vosg_at_skynet.be)
Date: 2002-08-12


> >>>>> Linus wrote:
>
> Linus> I definitely don't think an X file limit, today 200, is a
> Linus> problem at all.
>
> Two things:
>
> * The unknowing user could be rather surprised though. There should
> at least be some feedback to the user when this happens. Like first
> entry in dirlist reading "Dir truncated. More than 200 files in
> this folder. Reorganize your files"
>
> * Given the size of disks now days I guess there isn't any problem at
> all to fill for example the root folder with this amount of
> material just by filling it with playlists from normal CD albums.

Why not buffer the first 200 entries of the directory into RAM, then (when the user scrolls beyond the 200th entry) access the drive
and read the next 200 entries into the buffer? Didn't anyone think of this before, or is it impossible?

Guy.



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