Hi all,
I am trying to understand what I need to do in my file system in order to
support alternate data streams. I have searched through the archive of this
list and found some good references, the best being:
http://www.osronline.com/showThread.cfm?link=62574
http://www.osronline.com/showThread.cfm?link=24948
I have found other information here and there in other threads and in
articles on osronline. I still have some questions though.
Is it valid to send a QUERY_INFO IRP to an ADS FO? If so, should the FSD
return attributes and dates and number-of-links and so on that correspond to
the file, or should those be returned as 0/-1/invalid? The file size and
allocation size should be that of the stream I guess?
I know it is valid to send a SET_INFO to an ADS FO, because that is how to
rename a stream. If the SET_INFO is used to set other information, like
dates or file attributes, is that an error or is the file itself updated? I
suppose its valid to set the file size/allocation size/position of the
stream?
Is it valid to send SET_SECURITY/QUERY_SECURITY IRPs to an ADS FO?
Is it valid to send oplock fsctl IRPs to an ADS FO? Wrt renaming
directories, I suppose the rules for breaking batch oplocks and filter
oplocks are the same if ADS FOs are open beneath this directory?
[Tony: you said a little over a month ago that you would write a general
article on alternate data streams since this seems to be an obscure topic.
Maybe you can bounce some of your ideas here before publishing ]
Thanks.
=================================================
Roger Tawa
http://tawacentral.net/
[One thing about paradigms: shift happens.]
[When you stop, you’re done.]