|
Rockbox mail archiveSubject: FAT32 questions and suggestionsFAT32 questions and suggestions
From: Dave Chapman <dave_at_dchapman.com>
Date: Wed, 8 May 2002 08:32:35 +0100 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. Received on 2002-05-08 Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |