I remember seeing other people mentionning here that they were to change the upload directory names in order to overcome linux's 32000 subdirectories limit.
I personally solved this problem by splitting up the DB in smaller fragments, however I still want to change those folders names, in order to be able to access images without php/mysql. To do this i want to name the directories after the blog name instead of the blog id. The blog name being in the url already, a simple mod_rewrite statement could then deliver the image, without the need for queries and whatnot.
So, who's done that (renaming, it doesn't have to be to blog name) ? Any tips on the various locations in the code and in the DB where the path should be changed ?