Re Re How I can hook mount event for drive.

Hi, All !
I already have the filter driver for encryption.
In this driver I want to watch event when the new disk is added
to FSD.
How function I can use ?
I used IoRegisterFsRegistrationChange function, but it does not work:
when I add a new network disk or format a disk registered function is
never call. Why ?

Best regards,
Yury mailto:xxxxx@agtu.secna.ru

You wrote:

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
From: Dan Partelly
> To: File Systems Developers
> Date: Wednesday, September 18, 2002, 5:58:04 PM
> Subject: [ntfsd] Re: How I can hook mount event for drive
> Files:
> --====----====----====----====----====----====----====----====----====----===–
>> I must monitor unmount and mount event. How I can get it ?

> I would sugest to take a break from encryption filter driver, is not
> something you
> want do do as your first file system filter. Start with much simplier
> things.

>> ----- Original Message -----
>> From: “AGTU”
>> To: “File Systems Developers”
>> Sent: Wednesday, September 18, 2002 6:33 AM
>> Subject: [ntfsd] How I can hook mount event for drive

>> Hi, All !
>> I am making a filter driver for encryption.
>> I must monitor unmount and mount event. How I can get it ?
>>
>> –
>> Best regards,
>> Yury mailto:xxxxx@agtu.secna.ru

IoRegisterFsRegistrationChange only informs u when a file system is up and
not when any network disk is added or disk formated.

if u want to know when a volume is mounted, intercept the
IRP_MJ_FILE_SYSTEM_CONTROL request.

Ho Mun Chuen
@@ “Not everything that counts can be counted;
<” )~ and not everything that can be counted counts"
//\ … Albert Einstein
----- Original Message -----
From: “AGTU”
To: “File Systems Developers”
Sent: Thursday, September 19, 2002 4:02 PM
Subject: [ntfsd] Re Re How I can hook mount event for drive.

Hi, All !
I already have the filter driver for encryption.
In this driver I want to watch event when the new disk is added
to FSD.
How function I can use ?
I used IoRegisterFsRegistrationChange function, but it does not work:
when I add a new network disk or format a disk registered function is
never call. Why ?

Best regards,
Yury mailto:xxxxx@agtu.secna.ru

You wrote:
>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
=-=
> From: Dan Partelly
> To: File Systems Developers
> Date: Wednesday, September 18, 2002, 5:58:04 PM
> Subject: [ntfsd] Re: How I can hook mount event for drive
> Files:
> --====----====----====----====----====----====----====----====----====----
===–
>> I must monitor unmount and mount event. How I can get it ?

> I would sugest to take a break from encryption filter driver, is not
> something you
> want do do as your first file system filter. Start with much simplier
> things.

>> ----- Original Message -----
>> From: “AGTU”
>> To: “File Systems Developers”
>> Sent: Wednesday, September 18, 2002 6:33 AM
>> Subject: [ntfsd] How I can hook mount event for drive

>> Hi, All !
>> I am making a filter driver for encryption.
>> I must monitor unmount and mount event. How I can get it ?
>>
>> –
>> Best regards,
>> Yury mailto:xxxxx@agtu.secna.ru


You are currently subscribed to ntfsd as: xxxxx@pmail.ntu.edu.sg
To unsubscribe send a blank email to %%email.unsub%%