Hello,
I would appreciate any advice on the following problem.
I would like to pre-grow file to certain size (few MBytes). I'll explain what I mean by "pre-grow" by concete example. Let's say that I have a file that is currently 1 MByte in size, and occupies
250 disk blocks (assuming disk block is 4 KBytes). I would like to increase the size of this file to 2 MBytes, and extend it by allocating additional 250 disk blocks to it. I do NOT want to actually fill these additional 250 disk blocks with any contents; I simply want them to be allocated, and all file system metadata updated accordingly.If case if file system is a factor here, I would be using FAT file system.
Would that actually be possible ?
Thanks in advance and regards, Andray