Sir,

I am a .sys Developer. Now, I want to know from you
that, when-ever there will be either read/write on any
disk, I want that a message should get stored in sd.log
file , but I have done every possible steps regards to
this, but neither log file gets created nor does
anything ?? No other function gets executed, when I do
IRP_MJ_READ/IRP_MJ_WRITE ? How I can read/write a disk
through this ?

Re: About Device Driver's Disk Read/Write tracking by Michael

Michael
Mon Sep 01 13:02:06 CDT 2003

If you want to perform disk access, you have to schedule a worker thread.

If you want to see debug messages, you can use "DbgPrint" in conjunction
with the debugging tools found at http://www.microsoft.com/ddk/debugging/.

I'm new to driver development. So, I don't know much about either option,
but it's a place to start your research.