Sometimes, this function (used in demos) takes too much time to complete. Don´t know if it depends on SD Card or format (using FAT32).
It looks like it is scanning the whole card independently of _FS_NOFSINFO configuration value.
Some cards that worked well initially, are giving problems after reformatting.
I will investigate when i have the time.