RES: when opening a file, I will get into PRE_CREATE many times.

AFAIK…

You must keep in mind that the file can be opened by FILE_ID, and in
this case, witch name will you use? Anyway, you could take a look at
http://www.osronline.com/article.cfm?id=102 in order to know how to
track FileObjects.

You must remember too that you need choose if you’ll want keep the data
in cache encrypted or not, in order to know if you need decrypt the
buffer at PAGED_OI IRPs or not. If your cache will be encrypted, you’ll
must check the encryption/decryption cases at FastIO routines too.

Have you read the mandatory reading “Windows NT File Systems Internals”?
It’d be nice.

Have Fun, :slight_smile:

Fernando Roberto da Silva
DriverEntry Kernel Development
http://www.driverentry.com.br

-----Mensagem original-----
De: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] Em nome de
xxxxx@yahoo.com.cn
Enviada em: quarta-feira, 30 de maio de 2007 13:34
Para: Windows File Systems Devs Interest List
Assunto: RE:[ntfsd] when opening a file, I will get into PRE_CREATE many
times.

Well,
Thank U! I get it.

In PRE_CREATE, I will get multiple fileobjects for ONE file, but they
have same filename, that is, fileobject->filename.

If I want to store the file’s information(fileobject and filename) in
PRE_CREATE, which fileobject shuold I store for ONE filename?

Best Wishes!


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@opencs.com.br
To unsubscribe send a blank email to xxxxx@lists.osr.com