read ahead

I tried to avoid read ahead by IRP_NOCAHE in create path. But still I get
MJ_READ while browsing through explorer. Thanks for your help

-Ramaraj


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Explorer does a bunch of reads on every file to extract resources etc.
This is normal.

-----Original Message-----
From: Ramaraj Pandian [mailto:xxxxx@dvdjukebox.com]
Sent: Friday, July 20, 2001 10:06 AM
To: File Systems Developers
Subject: [ntfsd] read ahead

I tried to avoid read ahead by IRP_NOCAHE in create path. But still I
get MJ_READ while browsing through explorer. Thanks for your help

-Ramaraj


You are currently subscribed to ntfsd as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Thanks Ravi, Is there anyway I can differentiate the read for data or read
for resources etc.?

-ramaraj

-----Original Message-----
From: Ravisankar Pudipeddi [mailto:xxxxx@windows.microsoft.com]
Sent: Friday, July 20, 2001 1:09 PM
To: File Systems Developers
Subject: [ntfsd] RE: read ahead

Explorer does a bunch of reads on every file to extract resources etc.
This is normal.

-----Original Message-----
From: Ramaraj Pandian [mailto:xxxxx@dvdjukebox.com]
Sent: Friday, July 20, 2001 10:06 AM
To: File Systems Developers
Subject: [ntfsd] read ahead

I tried to avoid read ahead by IRP_NOCAHE in create path. But still I
get MJ_READ while browsing through explorer. Thanks for your help

-Ramaraj


You are currently subscribed to ntfsd as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@dvdjukebox.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Not unless you are prepared to understand the PE file format (and
MZ format if you want 16-bit EXEs) and apply some heuristics to
distinguish reading for non-resource access (e.g. copying, running etc)
and resources access by Explorer.

Resources are just stored in the EXE file and (as far as the FS driver
is concerned) are accessed using the normal Read/Write APIs. There is no
indication of the intentions of what the caller wants to do with the
data it is reading from the file.

Shaun

Ramaraj Pandian wrote:
>Thanks Ravi, Is there anyway I can differentiate the read for data or read
>for resources etc.?
>
>-ramaraj
>
>
>-----Original Message-----
>From: Ravisankar Pudipeddi [mailto:xxxxx@windows.microsoft.com]
>Sent: Friday, July 20, 2001 1:09 PM
>To: File Systems Developers
>Subject: [ntfsd] RE: read ahead
>
>
>Explorer does a bunch of reads on every file to extract resources etc.
>This is normal.
>
>
>-----Original Message-----
>From: Ramaraj Pandian [mailto:xxxxx@dvdjukebox.com]
>Sent: Friday, July 20, 2001 10:06 AM
>To: File Systems Developers
>Subject: [ntfsd] read ahead
>
>
>I tried to avoid read ahead by IRP_NOCAHE in create path. But still I
>get MJ_READ while browsing through explorer. Thanks for your help
>
>-Ramaraj
>
>—
>You are currently subscribed to ntfsd as: xxxxx@windows.microsoft.com
>To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
>—
>You are currently subscribed to ntfsd as: xxxxx@dvdjukebox.com
>To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
>—
>You are currently subscribed to ntfsd as: xxxxx@sdlabs.demon.co.uk
>To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Thanks Shaun.
Looks like it is very tedious to understand and parse resource data.
Here is what I am trying to do, I want to reparse or read data (execute)
from other storage device whenever user needs/reads data. I am representing
files and folder with filter driver as it exist on other storage device. I
struggling to figure out which way should I go, Could you suggest me please?

Thanks
Ramaraj

-----Original Message-----
From: Shaun [mailto:xxxxx@sdlabs.demon.co.uk]
Sent: Saturday, July 21, 2001 1:36 AM
To: File Systems Developers
Subject: [ntfsd] RE: read ahead

Not unless you are prepared to understand the PE file format (and
MZ format if you want 16-bit EXEs) and apply some heuristics to
distinguish reading for non-resource access (e.g. copying, running etc)
and resources access by Explorer.

Resources are just stored in the EXE file and (as far as the FS driver
is concerned) are accessed using the normal Read/Write APIs. There is no
indication of the intentions of what the caller wants to do with the
data it is reading from the file.

Shaun

Ramaraj Pandian wrote:
>Thanks Ravi, Is there anyway I can differentiate the read for data or read
>for resources etc.?
>
>-ramaraj
>
>
>-----Original Message-----
>From: Ravisankar Pudipeddi [mailto:xxxxx@windows.microsoft.com]
>Sent: Friday, July 20, 2001 1:09 PM
>To: File Systems Developers
>Subject: [ntfsd] RE: read ahead
>
>
>Explorer does a bunch of reads on every file to extract resources etc.
>This is normal.
>
>
>-----Original Message-----
>From: Ramaraj Pandian [mailto:xxxxx@dvdjukebox.com]
>Sent: Friday, July 20, 2001 10:06 AM
>To: File Systems Developers
>Subject: [ntfsd] read ahead
>
>
>I tried to avoid read ahead by IRP_NOCAHE in create path. But still I
>get MJ_READ while browsing through explorer. Thanks for your help
>
>-Ramaraj
>
>—
>You are currently subscribed to ntfsd as: xxxxx@windows.microsoft.com
>To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
>—
>You are currently subscribed to ntfsd as: xxxxx@dvdjukebox.com
>To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
>—
>You are currently subscribed to ntfsd as: xxxxx@sdlabs.demon.co.uk
>To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@dvdjukebox.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com