Disabling caching on a per-share basis is done at the server. There is a
share property that controls the caching for the share (in the sharing UI).
I’ll try to see whether I can find a solution for you.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Matthew N. White
Sent: Monday, August 07, 2006 12:15 PM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] Offline files/CSC disablement?
Danilo,
I control just the client, for 2K,XP,2K3, Vista. I decide which files
should not be cached by knowing about them in a file system filter driver.
There are two reasons I’d rather them not be cached. First, the CSC is not
playing well with “my” files and directories, presumably because I control a
completely different file object/VM state than the redirector. I’m
theorizing that handles opened to my files/dirs are getting passed in the
IOCTLs, which then don’t make sense to the redirector, causing problems.
Secondly, for certain reasons, I’d rather not have the data floating around
in that cache persistently for my special files.
How do you disable it on a per-share basis? The only thing I’ve seen is the
per-machine disable in the Explorer->Tools->Folder Options->Offline Files
tab.
Thanks,
Matt
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Danilo Almeida
Sent: Sunday, August 06, 2006 3:57 PM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] Offline files/CSC disablement?
Mathew,
I can get you a better answer with more detailed information about your
requirements. Some of the information that would help includes: Why do you
need to disable caching of certain files? How do you do decide which files
should not be cached? Which client OS versions you are targetting? Do you
control the server or just the client?
I would try to stay away from interfering with the CSC IOCTLs. Not only are
they undocumented, but they can change. For example, in Vista, those IOCTLs
no longer exist.
Note that, if you have control over the server share, you can set up the
share to disable caching by CSC.
Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: xxxxx@bitarmor.com To unsubscribe
send a blank email to xxxxx@lists.osr.com
Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: xxxxx@mit.edu To unsubscribe
send a blank email to xxxxx@lists.osr.com