FSD issues

Hello,

I am working with file system driver code which maps
actual drive partion to a virtual shadow volume. My
driver is a kind of redirector. If somebody can guide
me on following issues

  1. A file on actual disk may have multiple file
    objects associated. When a user applications issues
    multiple open request to same file, my FSD sees
    seperate file objects for each requests & allocates
    seperate FSB’s for the same file. Is it right to have
    multiple FSBs for one file? If not, how does FSD know
    that for second file object, new FSB should not be
    allocated?

  2. When I perform reads & writes on a file, inspecting
    through Filemon utility, I see that system process is
    also referencing that file sometimes. If a DELETE
    operation is requested on such a file, FSD receives
    IRP_MJ_CLEANUP but does not get IRP_MJ_CLOSE. This
    prevents the file from getting really deleted.
    Analysing I see that system process has a reference on
    that file. This makes DELETE unsuccessful
    occasionally. How do I ensure that file gets deleted
    properly.

Thanks,
Sharmila Panse
Indra Networks


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Wrong newsgroup. Try ntfsd, but never multi-post.

“Sharmila Panse” wrote in message
news:xxxxx@ntdev…
> Hello,
>
> I am working with file system driver code which maps
> actual drive partion to a virtual shadow volume. My
> driver is a kind of redirector. If somebody can guide
> me on following issues
> 1. A file on actual disk may have multiple file
> objects associated. When a user applications issues
> multiple open request to same file, my FSD sees
> seperate file objects for each requests & allocates
> seperate FSB’s for the same file. Is it right to have
> multiple FSBs for one file? If not, how does FSD know
> that for second file object, new FSB should not be
> allocated?
>
> 2. When I perform reads & writes on a file, inspecting
> through Filemon utility, I see that system process is
> also referencing that file sometimes. If a DELETE
> operation is requested on such a file, FSD receives
> IRP_MJ_CLEANUP but does not get IRP_MJ_CLOSE. This
> prevents the file from getting really deleted.
> Analysing I see that system process has a reference on
> that file. This makes DELETE unsuccessful
> occasionally. How do I ensure that file gets deleted
> properly.
>
> Thanks,
> Sharmila Panse
> Indra Networks
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>