Hi all,
While using the demo code for file systems in sd-card using FlashFS...i observed that the function "frename(oldname, newname)" takes a lot of time if the file size of the file being renamed is large. (i am operating the sd card on spi) For file size = approx 200KB >> time taken was about 10 secs For file size = approx 2MB >> time taken was about 1 min For file size = approx 5MB >> time taken was about 3 min
seems like the function is not just renaming but copying the whole data into other file with new name and then deleting the old one...Am i right ..?
Regards, Salman