Writing a user-mode file system for Windows?

Is it possible to write a file system for Windows in pure usermode, or rather, exclusively in managed code? I am thinking of something very similar to GMAILFS. With the exception of what it does under covers (GMAIL, Amazon, etc.), the main goal is to provide a drive letter and support all basic file operations, and possibly even add my own structures for storing metadata, etc.

+7
c # filesystems
source share
4 answers

It's complicated. I would look at some projects that did some hard work for you, for example. Dokan

+6
source share

Yes. Perhaps it was successfully executed for the ext2 file system .

Please note that you will need to write your own driver, which will require Microsoft to sign for some operating systems.

+1
source share

Of course, you can abstract regular file operations and run them in the cloud (see Google Apps, Amazon S3, Microsoft Azure, etc.). But if you want to talk with local devices, including local HD, you will have to use the system APIs and use the drivers (system / kernel mode).

So far all you need is a data storage service - the problem. If you need a real OS, you need to talk with real hardware, which means that these are drivers.

0
source share

As a reference, our Callback System is a supported and supported solution for creating user-mode file systems.

0
source share

All Articles