Lot's of adaptions/refactoring for fat32 (not complete)