Pseudo files

Does anyone have any suggestions for simulating files of huge size for
testing? I want to test my filter and user mode apps with files larger than
300GB , but I don’t have the disk space to do it. I’m thinking it would be
easier to be able to simulate files that large and larger, say up to 1TB.

Thanks,
Jeremy

Jeremy,

You might be able to use sparse files for testing. I’m not sure what affects sparse files would have on a FS filter, but you can give it a shot. Here’s some basic info on sparse files:

http://www.pcguide.com/ref/hdd/file/ntfs/otherSparse-c.html

You can set the “sparse” attribute with the fsutil command line utility. Hopefully that works for you.

-Bill