Hi, Friends,
I’m experimenting with writing a network redirector.
For a disk resource(real or virtual), I know my file system can mount the resource and create a volume device object then the IO Manager will redirect IO request to my FS.
The question is how can do the same thing with a network resource? Do I have to create a virtual disk first then mount it? Otherwise, how can direct IO access to the network resource, say,
“\my_server”(a MUP), to my file system??
Could anybody help me clarify this process?
Thanks a lot in advance.
Lijun
Do You Yahoo!?
Make international calls for as low as $0.04/minute with Yahoo! Messenger.
You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>The question is how can do the same thing with a network resource? Do I have to create a
virtual disk first then mount it? Otherwise, how can direct IO access to the network resource,
No, create some device object of yours and register it with MUP by FsRtlRegisterUncProvider.
After this, MUP will send IOCTL_REDIR_QUERY_PATH to it.
In this IOCTL, your redir must check whether this is “its” filename or “non-its” (like SMB one).
Max
You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
Thank you Max. That really helps.
One more question, when I write a redirector, is it mandatory that I also write a Network Provider for that?
Thanks
Lijun
“Maxim S. Shatskih” wrote: >The question is how can do the same thing with a network resource? Do I have to create a >virtual disk first then mount it? Otherwise, how can direct IO access to the network resource, No, create some device object of yours and register it with MUP by FsRtlRegisterUncProvider.After this, MUP will send IOCTL_REDIR_QUERY_PATH to it.In this IOCTL, your redir must check whether this is “its” filename or “non-its” (like SMB one). Max—
You are currently subscribed to ntfsd as: xxxxx@yahoo.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
---------------------------------
Do You Yahoo!?
Make international calls for as low as $0.04/minute with Yahoo! Messenger.
—
You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
If you want it to be compatible with NetHood window and NET USE command - then yes.
Usually, the answer is “yes”.
NP DLL can communicate with your redir by private IOCTLs of your own.
Max
----- Original Message -----
From: Lijun Wang
To: File Systems Developers
Sent: Wednesday, August 29, 2001 7:16 PM
Subject: [ntfsd] Re: How to redirect IO to network resource to my Redriector?
Thank you Max. That really helps.
One more question, when I write a redirector, is it mandatory that I also write a Network Provider for that?
Thanks
Lijun
“Maxim S. Shatskih” wrote:
>The question is how can do the same thing with a network resource? Do I have to create a
>virtual disk first then mount it? Otherwise, how can direct IO access to the network resource,
No, create some device object of yours and register it with MUP by FsRtlRegisterUncProvider.
After this, MUP will send IOCTL_REDIR_QUERY_PATH to it.
In this IOCTL, your redir must check whether this is “its” filename or “non-its” (like SMB one).
Max
—
You are currently subscribed to ntfsd as: xxxxx@yahoo.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
------------------------------------------------------------------------------
Do You Yahoo!?
Make international calls for as low as $0.04/minute with Yahoo! Messenger. — You are currently subscribed to ntfsd as: xxxxx@storagecraft.com To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
—
You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com