In adding support for UNC to my redirector I process the
IOCTL_REDIR_QUERY_PATH and return the length of the UNC path recognized and
then my IRP_MJ_CREATE routine gets called with the full UNC file name, for
example \server\share\filename.txt I thought the MUP would remove the
\server\share so I wouldn’t have to parse it in my create routine.
Is this correct, do I need to process the UNC portion in the create routine
? Is this because there may not be a mounted logical volume to
\server\share, say drive X:.
Thanks,
John Glavin
xxxxx@riverfrontsoftware.com
> example \server\share\filename.txt I thought the MUP would remove the
\server\share so I wouldn’t have to parse it in my create routine.
Is this correct, do I need to process the UNC portion in the create
routine
Do you have any other source of server and share name information for the
file which is the subject to open?
Max
When I defined the symbolic drive link X: for example to my device object,
my IRP_MJ_CREATE would be called with \filename.txt to denote a file in the
root of drive X:. I have since discovered that I can define extra
information in the DefineDosDevice call so that my create routine can be
called with extra information to let me know if the request is coming from a
symbolic link or a UNC name. For example the microsoft redirector uses
\X:\server-name\share-name\path, and so now I define my symbolic links the
same way and I can tell if it’s a UNC path or from the link.
Thanks,
– John
----- Original Message -----
From: Maxim S. Shatskih
To: File Systems Developers
Sent: Sunday, June 04, 2000 4:07 PM
Subject: [ntfsd] Re: UNC Question for redirectors
> > example \server\share\filename.txt I thought the MUP would remove the
> > \server\share so I wouldn’t have to parse it in my create routine.
> >
> > Is this correct, do I need to process the UNC portion in the create
> routine
>
> Do you have any other source of server and share name information for the
> file which is the subject to open?
>
> Max
>
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@riverfrontsoftware.com
> To unsubscribe send a blank email to $subst(‘Email.Unsub’)