pagefile.sys can not be created

Dear All,

The principal of my driver is the same as sfilter, but i have a problem : After loading system can not to create pagefile.sys and temppf.sys. After I inserted logs I found that system trying to create pagefile.sys more than 20 times, after this it trying to create temppf.sys the same number times.

I am a newcomer in the FSD programming. And I really confused. My driver uses IoRegisterFsRegistrationChange to register FSD and IRP_MJ_FILE_SYSTEM_CONTROL/IRP_MN_MOUNT_VOLUME for connecting to the corresponding VDO. I don’t connect to the VDO of FS recognizers and don’t connect to the shadow volumes. I check for SL_OPEN_PAGING_FILE flag in the stack location and if it is present I just pass IRP to lower driver (in my configuration it is FileSystemsr) without any changes (I don’t use completion routines in this case). What is wrong?

PS: I am from Ukraine, so excuse me for my bad English.

Is your CREATE path really called with SL_OPEN_PAGING_FILE?

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From:
To: “Windows File Systems Devs Interest List”
Sent: Thursday, November 25, 2004 6:11 PM
Subject: [ntfsd] pagefile.sys can not be created

> Dear All,
>
> The principal of my driver is the same as sfilter, but i have a problem :
After loading system can not to create pagefile.sys and temppf.sys. After I
inserted logs I found that system trying to create pagefile.sys more than 20
times, after this it trying to create temppf.sys the same number times.
>
> I am a newcomer in the FSD programming. And I really confused. My driver uses
IoRegisterFsRegistrationChange to register FSD and
IRP_MJ_FILE_SYSTEM_CONTROL/IRP_MN_MOUNT_VOLUME for connecting to the
corresponding VDO. I don’t connect to the VDO of FS recognizers and don’t
connect to the shadow volumes. I check for SL_OPEN_PAGING_FILE flag in the
stack location and if it is present I just pass IRP to lower driver (in my
configuration it is FileSystemsr) without any changes (I don’t use completion
routines in this case). What is wrong?
>
> PS: I am from Ukraine, so excuse me for my bad English.
>
> —
> Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>