Re: FS Minifilters to sync with remote server
- From: "Don Burn" <burn@xxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 21 Dec 2007 09:34:46 -0500
Take a look at the discussion about Feasibility: Virtual drive on this
newgroup. The Eldos stuff may be ok for you, otherwise this is a huge
project.
--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply
"Holger Grund" <holger.grund@xxxxxxxxxxxxxxx> wrote in message
news:C3A7BA87-4988-4003-B4D0-88BD811BF3B1@xxxxxxxxxxxxxxxx
Hi everyone,
I'm trying to evaluate some options for a shell namespace extension that
for
reason you can't want me to explain pretends to be part of the file
system.
However, actually files are kept on a server with a private communication
protocol.
While I worked on compiler codegen and core OS-level development things
I'm
really not much of a driver guy and have virtually no experience with
Windows
filesystem drivers.
Anyway, I'd like to try some things out, specifically I'm thinking about
something like this. I'd have a directory as root of "my own file system"
somewhere. On that one, I'd set a reparse point. A minifilter would then
trap
create and close requests and somehow communicate with some user-mode code
to
hook into these operations.
Does that make at all sense (I have to admit I have not really written or
debugged a single line of code yet)?
What's no clear to me is how this reparsing actually works. Can I set the
reparse point just on the directory and then get a notification for files
below that path or do I have to set reparse points on all files? Or are
there
better options (e.g. creating a virtual drive for the work area and filter
all requests there)?
Ideally, when there is the first open request with read access, I'd like a
user-mode application to chime in, grab the file and then allow the create
to
complete. Accordingly, last close should propagate changes to the server.
Renames/moves should also be handled accordingly. Is there a problem when
request take a long time to complete (e.g. consider the user-mode app
would
show some GUI or something)? I take it, you can't have infinitely many
outstanding requests.
I see how someone with little Windows driver background shouldn't really
try
to do things himself. But then, I wonder whether I can come up with a
reasonably simple initial implementation (maybe just starting from a
sample)
as a proof-of-concept. Browsing of the MiniSpy sample it looks like it
shouldn't be too hard, but then I'm probably lacking some of the more
basic
concepts here and would appreciate some input.
Thanks
-hg
.
- References:
- FS Minifilters to sync with remote server
- From: Holger Grund
- FS Minifilters to sync with remote server
- Prev by Date: FS Minifilters to sync with remote server
- Next by Date: kmdf: system crash by 1394 isochronous transfer
- Previous by thread: FS Minifilters to sync with remote server
- Next by thread: Re: FS Minifilters to sync with remote server
- Index(es):
Relevant Pages
|