Just to drop in on the question of the 4096 directories arranged in a
tree, that sounds like a hashmap to me. If you drill down until you
find an actual file, you'll see the first 3 characters of it's name
correspond to the directory path to find it. I'm guessing the filenames
are hashes either of the content of the file or some other data (like
the audio file it corresponds to) and the directory structure allows
them to be found very quickly. To pre-empt the "why not put them all in
one directory" question - because a lot of filesystems get unhappy with
20,000 files in one place!


-- 
radish
------------------------------------------------------------------------
radish's Profile: http://forums.slimdevices.com/member.php?userid=77
View this thread: http://forums.slimdevices.com/showthread.php?t=28105

_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss

Reply via email to