preventing autochk...

hi,
i have a NT4 driver which is loaded at system start (Start = 1) .
from the driverentry a file is renamed.
this causes autochk to run even if the system was properly shutdown.
is there any way i can prevent this autochk .
rgds
Seena


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

I wouldn’tve thought that renaming a file during DriverEntry would cause the
“dirty” bit to be set, and I was under the impression that system-start drivers
initialized after autochk.

Have you tried registering for reinitialization in your DriverEntry and then doing
it in your Reinitialization routine ?

Regards,

Paul Bunn, UltraBac.com, 425-644-6000
Microsoft MVP - WindowsNT/2000
http://www.ultrabac.com

-----Original Message-----
From: SEENA P.S [mailto:xxxxx@nestec.net]
Sent: Thursday, June 07, 2001 11:11 PM
To: NT Developers Interest List
Subject: [ntdev] preventing autochk…

hi,
i have a NT4 driver which is loaded at system start (Start = 1) .
from the driverentry a file is renamed.
this causes autochk to run even if the system was properly shutdown.
is there any way i can prevent this autochk .
rgds


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Anyway, drivers marked as “system start” are always started
when there is no user mode process (so neither SMSS).
I agree with Paul that it would not be true to set dirty bit
by rename before AUTOCHK gets executed. But if it’s, you
maybe should try to flush both file directory objects (or one
if your rename is done in one only directory) manually.

Hope this helps
Paul

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Paul Bunn
Sent: Friday, June 08, 2001 6:24 PM
To: NT Developers Interest List
Subject: [ntdev] RE: preventing autochk…

I wouldn’tve thought that renaming a file during DriverEntry would cause
the
“dirty” bit to be set, and I was under the impression that system-start
drivers
initialized after autochk.

Have you tried registering for reinitialization in your DriverEntry and
then doing
it in your Reinitialization routine ?

Regards,

Paul Bunn, UltraBac.com, 425-644-6000
Microsoft MVP - WindowsNT/2000
http://www.ultrabac.com

-----Original Message-----
From: SEENA P.S [mailto:xxxxx@nestec.net]
Sent: Thursday, June 07, 2001 11:11 PM
To: NT Developers Interest List
Subject: [ntdev] preventing autochk…

hi,
i have a NT4 driver which is loaded at system start (Start = 1) .
from the driverentry a file is renamed.
this causes autochk to run even if the system was properly shutdown.
is there any way i can prevent this autochk .
rgds


You are currently subscribed to ntdev as: xxxxx@compelson.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

yes i had tried rename from the reinitialization routine.
then also autochk runs.
be it driverentry or reinit routine autochk runs when the file is in FAT.
for NTFS there is NO autochk.
i am using fully-qualified rename.

rgds,
seena

>>-----Original Message-----
>>From: Paul Bunn [mailto:xxxxx@UltraBac.com]
>>Sent: Friday, June 08, 2001 9:54 PM
>>To: NT Developers Interest List
>>Subject: [ntdev] RE: preventing autochk…
>>
>>
>>I wouldn’tve thought that renaming a file during DriverEntry
>>would cause the
>>“dirty” bit to be set, and I was under the impression that
>>system-start drivers
>>initialized after autochk.
>>
>>Have you tried registering for reinitialization in your
>>DriverEntry and then doing
>>it in your Reinitialization routine ?
>>
>>Regards,
>>
>>Paul Bunn, UltraBac.com, 425-644-6000
>>Microsoft MVP - WindowsNT/2000
>>http://www.ultrabac.com
>>
>>
>>-----Original Message-----
>>From: SEENA P.S [mailto:xxxxx@nestec.net]
>>Sent: Thursday, June 07, 2001 11:11 PM
>>To: NT Developers Interest List
>>Subject: [ntdev] preventing autochk…
>>
>>
>>hi,
>>i have a NT4 driver which is loaded at system start (Start = 1) .
>>from the driverentry a file is renamed.
>>this causes autochk to run even if the system was properly shutdown.
>>is there any way i can prevent this autochk .
>>rgds
>>
>>—
>>You are currently subscribed to ntdev as: xxxxx@nestec.net
>>To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>>


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com