none
write and read RRS feed

  • Question

  • I have a project that is about video recording. I create files and write frames to files. when disk have no enough space I have to delete old video files. I think this procedure will create many fragmentated file on disk.

    I wonder that if I create an empty file and set EOF to some value for example 100 Mb (so that it will be continues file), and then overwrite new frame on this file without deleting and creating  new file, do I prevent fragmentation on disk?

     

    thanks,

     

    Thursday, October 27, 2011 12:39 AM

Answers