According to the posix definition of "ftruncate" , a file is made larger by
writing zeroes up to the size desired.

My implementation of Fat File System can quickly extend a file by allocating
more sectors, but will take a long time to write all those new sectors with
zeroes.

So, is zero filling absolutely  necessary?

 

Also, is ftruncate ever called to shorten a file?

 

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to