I have to explicitly test the case what my application does if it tries to access some corrupted part of an NTFS file system. I looked around for similar questions but those were about corrupting specific files (i.e. destroy the syntax of an xml file, etc).
I need to create a scenario where chkdsk would report errors in the file system in a specific location.
Does anybody have any idea how I could provoke such a situation to test my application.
Just in case you worry: I wouldn't do that on my production system, I have a VM set up for things like that.