PDA

View Full Version : the question about ftruncate function



derek36
August 10th, 2015, 08:35 AM
Hi everyone,
I have a question about ftruncate function.
when pen drive format is fat/fat32, this ftruncate function will take a lot of time, like 7.9MB takes 47 seconds.
but when pen drive format is ext3/4, this function just takes a few seconds.
why does ftruncate take a lot of time when the format is fat/fat32?

I am not sure if this question posted in this forum is right or not.
if it is not right, please tell me where I can post it, thank you.

Derek