Hi,
I am using IoRegisterFsRegistrationChange, I am making a File System Filter Driver, so I want a device attached to LanmanRedirector, but I have WNT system where I don’t get notify when LanmanRedirector is registered. So in that machine network files are not filtered. In this system LanmanRedirector is in a driver called “Rdr”, in two other systems (W2K & WXP) LanmanRedirector is in a driver called “MRxSmb”.
Why don’t I get called when LanmanRedirector is registered? Which file systems are notified to a driver that uses IoRegisterFsRegistrationChange?
Is it safe if attach to a File System device object in any other time that is not when I get notified of its registration?
Thanks.
as far as i know, rdr does not respond to this function for wnt and w2k. what i did was to have a thread that periodically attempts to attach to it after my driver starts. this has worked for me so far. on why it doesn’t respond, well, in wnt and w2k it does not register itself as a “file system”. on the time for attachment, it will depend on what u intend to do. for example, anti-virus usually start and attach very late in the bootup process. fsfds like filemon also attach only when it is executed. this is because what they do is just monitor. if u are doing an encryption fsfd, then u will need to attach before them.
Ho Mun Chuen
@@ “Not everything that counts can be counted;
<” )~ and not everything that can be counted counts"
//\ … Albert Einstein
----- Original Message -----
From: Ratmil Torres
To: File Systems Developers
Sent: Wednesday, October 09, 2002 7:13 AM
Subject: [ntfsd] IoRegisterFsRegistrationChange
Hi,
I am using IoRegisterFsRegistrationChange, I am making a File System Filter Driver, so I want a device attached to LanmanRedirector, but I have WNT system where I don’t get notify when LanmanRedirector is registered. So in that machine network files are not filtered. In this system LanmanRedirector is in a driver called “Rdr”, in two other systems (W2K & WXP) LanmanRedirector is in a driver called “MRxSmb”.
Why don’t I get called when LanmanRedirector is registered? Which file systems are notified to a driver that uses IoRegisterFsRegistrationChange?
Is it safe if attach to a File System device object in any other time that is not when I get notified of its registration?
Thanks.
You are currently subscribed to ntfsd as: xxxxx@pmail.ntu.edu.sg
To unsubscribe send a blank email to %%email.unsub%%
Actually, LanmanRedirector does register as a file system in W2K and later. It does not register as a file system in NT4. For that version you are going to have to do something like what was suggested here. The FileSpy sample in the IFSKit shows you to explicitly attach to a driver by name.
Yes, it is safe to attach to a file system at any time.
Neal Christiansen
Microsoft File System Filter Group
This posting is provided “AS IS” with no warranties, and confers no rights.
-----Original Message-----
From: Ho Mun Chuen [mailto:xxxxx@pmail.ntu.edu.sg]
Sent: Wednesday, October 09, 2002 8:30 PM
To: File Systems Developers
Subject: [ntfsd] Re: IoRegisterFsRegistrationChange
as far as i know, rdr does not respond to this function for wnt and w2k. what i did was to have a thread that periodically attempts to attach to it after my driver starts. this has worked for me so far. on why it doesn’t respond, well, in wnt and w2k it does not register itself as a “file system”. on the time for attachment, it will depend on what u intend to do. for example, anti-virus usually start and attach very late in the bootup process. fsfds like filemon also attach only when it is executed. this is because what they do is just monitor. if u are doing an encryption fsfd, then u will need to attach before them.
Ho Mun Chuen
?@@??? “Not everything that counts can be counted;
<”? )~ and not everything that can be counted counts"
?//? … Albert Einstein
----- Original Message -----
From: Ratmil Torres
To: File Systems Developers
Sent: Wednesday, October 09, 2002 7:13 AM
Subject: [ntfsd] IoRegisterFsRegistrationChange
Hi,
I am using IoRegisterFsRegistrationChange, I am making a File System Filter Driver, so I want a device attached to LanmanRedirector, but I have WNT system where I don’t get notify when LanmanRedirector is registered. So in that machine network files are not filtered. In this system LanmanRedirector is in a driver called “Rdr”, in two other systems (W2K?& WXP) LanmanRedirector is in a driver called “MRxSmb”.
Why don’t I get called when LanmanRedirector is registered? Which file systems are notified to a driver that uses IoRegisterFsRegistrationChange?
Is it safe if attach to?a?File System?device object in any other time that is not when I get notified of its registration?
Thanks.
You are currently subscribed to ntfsd as: xxxxx@pmail.ntu.edu.sg
To unsubscribe send a blank email to %%email.unsub%%
You are currently subscribed to ntfsd as: xxxxx@Windows.Microsoft.com
To unsubscribe send a blank email to %%email.unsub%%