Growing pains

Hi all,

I have a real time data acquisition system that, for speed and file system
integrity reasons, needs to pre-grow my data logging files. QNX floods a
file with NULLs when chsize() is used or when you lseek() beyond the end of
a file and perform a write. Is there a way to disable this behavior in my
app or in the disk drivers? I’ve not found one.

What I wish to do is simply “lay claim to” the disk blocks in my solid
state disk drive, update the inode file and move on. This process should
take milliseconds in theory, but is being thwarted by the NULL padding of
these files.

Jason Farque’
Integrity Verification Technologies