STATUS_REPARSE and file attributes

Hi, everyone.

I’m implementing redirect minifilter driver based on SimpRep example.
So file1 redirected to file2.
Read/Write redirected ok, but when i try to call GetFileAttributes on file1 it returns -1 and GetLastError()==0

Any suggestions why ?

Thanks.

it is also my question…

I think reparsing IRP_MJ_CREATE should be enough - there’s no special
handling for GetFileAttributes. Do you handle IRP_MJ_NETWORK_QUERY_OPEN,
right?

See ProcMon which IRPs are called and their return values.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of zooder@ua.fm
Sent: Sunday, July 31, 2011 4:56 PM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] STATUS_REPARSE and file attributes

Hi, everyone.

I’m implementing redirect minifilter driver based on SimpRep example.
So file1 redirected to file2.
Read/Write redirected ok, but when i try to call GetFileAttributes on file1
it returns -1 and GetLastError()==0

Any suggestions why ?

Thanks.


NTFSD is sponsored by OSR

For our schedule of debugging and file system seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer