Filter driver for file system overlay

Welcome everyone.

I have a few questions about developing a file system filter driver. The goal is to have a files in a single file (raw, zipped, etc) - it does not have to have a real FS structure, it can be regular ZIP file on any kind of partition supported by the OS. The driver should intercept file I/O calls from application. For example if an application wants to open file “foo.txt”, first the zip archive given should be searched for this file, if not - it should be opened from disk if found.
This should be something like transparent overlay over file system. One more thing - if possible this overlay should exist only for the process tree of the application given.

Do I think correct that I should implement this in form of filter driver?

Do you know of any existing drivers that kind?

Do you know of any existing virtual disk drivers that can create virtual drive visible for only one application?

Thanks for your replies!
Best Regards,
Michal Jaskolski

(blatant marketing content removed)

Check out the user mode proxy driver by Galen Hunt (source code available).
http://research.microsoft.com/~galenh/Publications/HuntUsenixNt97.pdf

/Daniel

wrote in message news:xxxxx@ntfsd…
> Welcome everyone.

> Do you know of any existing drivers that kind?
>
> Do you know of any existing virtual disk drivers that can create virtual
> drive visible for only one application?
>
> Thanks for your replies!
> Best Regards,
> Michal Jaskolski
>

> Check out the user mode proxy driver by Galen Hunt (source code available).
Interesting…

I could not find the source code however; Daniel, would you mind
sharing a link?

-------------- Original message --------------
From: “Daniel Terhell”

> Check out the user mode proxy driver by Galen Hunt (source code available).
> http://research.microsoft.com/~galenh/Publications/HuntUsenixNt97.pdf
>
> /Daniel
>
>
>
> wrote in message news:xxxxx@ntfsd…
> > Welcome everyone.
>
> > Do you know of any existing drivers that kind?
> >
> > Do you know of any existing virtual disk drivers that can create virtual
> > drive visible for only one application?
> >
> > Thanks for your replies!
> > Best Regards,
> > Michal Jaskolski
> >
>
>
> —
> NTFSD is sponsored by OSR
>
> For our schedule debugging and file system seminars
> (including our new fs mini-filter seminar) visit:
> http://www.osr.com/seminars
>
> You are currently subscribed to ntfsd as: xxxxx@comcast.net
> To unsubscribe send a blank email to xxxxx@lists.osr.com

I downloaded the source once from the MS research site but I can also not find it back. It may be of limited value because it is already ten years old. Also I doubt if it answers the question of the OP but it seems very similar to the callback file system to which another link has been posted.

I will check the license agreement to see if I have the right to send you a copy.

/Daniel

wrote in message news:xxxxx@ntfsd…
> Check out the user mode proxy driver by Galen Hunt (source code available).
Interesting…

I could not find the source code however; Daniel, would you mind
sharing a link?

-------------- Original message --------------
From: “Daniel Terhell”

> Check out the user mode proxy driver by Galen Hunt (source code available).
> http://research.microsoft.com/~galenh/Publications/HuntUsenixNt97.pdf
>
> /Daniel
>
>
>
> wrote in message news:xxxxx@ntfsd…
> > Welcome everyone.
>
> > Do you know of any existing drivers that kind?
> >
> > Do you know of any existing virtual disk drivers that can create virtual
> > drive visible for only one application?
> >
> > Thanks for your replies!
> > Best Regards,
> > Michal Jaskolski
> >
>
>
> —
> NTFSD is sponsored by OSR
>
> For our schedule debugging and file system seminar s
> (including our new fs mini-filter seminar) visit:
> http://www.osr.com/seminars
>
> You are currently subscribed to ntfsd as: xxxxx@comcast.net
> To unsubscribe send a blank email to xxxxx@lists.osr.com

> Check out the user mode proxy driver by Galen Hunt (source code available).

http://research.microsoft.com/~galenh/Publications/HuntUsenixNt97.pdf

When I was working on FIFS (around 10 years ago :), I looked at this and talked to Galen about using it. Overall, I found it not to be suitable for trying to simplify the implementation of file system.

The solution used by FIFS and AFS is another way to go. (See http://www.usenix.org/events/usenix-nt99/almeida.html.) (Now that I have done FS drivers, I need to think about whether there are some issues w/those implementation in regards to paging i/o…)

  • Danilo

> I downloaded the source once from the MS research

The paper[s] are there, but nether google nor the serach within MS Research

brings in the code.

I will check the license agreement to see if I have the right to send you
a copy.

Thx (if not for the code yet then for the effortJ)

From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Daniel Terhell
Sent: Wednesday, September 05, 2007 2:05 PM
To: Windows File Systems Devs Interest List
Subject: Re:[ntfsd] Re:Filter driver for file system overlay

I downloaded the source once from the MS research site but I can also not
find it back. It may be of limited value because it is already ten years
old. Also I doubt if it answers the question of the OP but it seems very
similar to the callback file system to which another link has been posted.

I will check the license agreement to see if I have the right to send you a
copy.

/Daniel

wrote in message news:xxxxx@ntfsd…

> Check out the user mode proxy driver by Galen Hunt (source code
available).

Interesting…

I could not find the source code however; Daniel, would you mind

sharing a link?

-------------- Original message --------------
From: “Daniel Terhell”

> Check out the user mode proxy driver by Galen Hunt (source code
available).
> http://research.microsoft.com/~galenh/Publications/HuntUsenixNt97.pdf
>
> /Daniel
>
>
>
> wrote in message news:xxxxx@ntfsd…
> > Welcome everyone.
>
> > Do you know of any existing drivers that kind?
> >
> > Do you know of any existing virtual disk drivers that can create virtual

> > drive visible for only one application?
> >
> > Thanks for your replies!
> > Best Regards,
> > Michal Jaskolski
> >
>
>
> —
> NTFSD is sponsored by OSR
>
> For our schedule debugging and file system seminar s
> (including our new fs mini-filter seminar) visit:
> http://www.osr.com/seminars
>
> You are currently subscribed to ntfsd as: xxxxx@comcast.net
> To unsubscribe send a blank email to xxxxx@lists.osr.com


NTFSD is sponsored by OSR

For our schedule debugging and file system seminars
(including our new fs mini-filter seminar) visit:
http://www.osr.com/seminars

You are currently subscribed to ntfsd as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com

Thank you all a lot for all the information. I’ll search for the source code of proxy fs. Callback FS seams to be nice pice of work, but the licence is quite expensive - maybe it’s worth it.
Once again, thx a lot.


MJ