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



Rockbox mail archive

Subject: FAT32 questions and suggestions
From: Dave Chapman (dave_at_dchapman.com)
Date: 2002-05-08


Hello,

In thinking about how to minimise the memory usage when browsing the
directories on the Archos, it struck me that we may have access to short
filenames already - the 8.3 filenames used in FAT filesystems.

Am I correct in saying this? Is it possible for the FAT32 driver to return
both the short and long names? If so, the buffer in tree.c just needs to
store the short name (for accessing the file) and the first 16 characters of
the full name (for display on the screen).

Also, are there any limits on the number of files/subdirs in a directory on
the FAT32 filesystem? Is the limit different for the root directory?

One remaining improvement to tree.c is to sort the directories in
alphabetical order. Unless we want very slow browsing, this will mean
reading the entire directory into memory. Can anyone suggest a sensible
limit for the size of this array?

Regards,

Dave.



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