Virtual File System implementation

  • Thread starter Thread starter Will Program For Food
  • Start date Start date
W

Will Program For Food

Hi,
I am curious as to how some applications achieve creating some sort of
virtual file system, basically this is what I mean:

a) Does not matter whether it is opening a file that "behaves" as a VFS or
simply creating such virtual drive

b) A "new" drive is mapped into the computer (i.e. X:) under which the
virtual file system is available

so, how is that done if I may ask ;) what do I have to do for my app to
"map" a new drive and then respond to events of some kind so that it can
"serve" whatever items it wants to make available under the virtual drive.

Any help/examples is greatly appreciated.
 
Hi,

Thanks for your post. As I understand, you want to create a virtual drive
just like standard hard disk. Please correct me if there is any
misunderstanding. Baded on my experience, you have to write a kernel-mode
device driver for it. I believe the following DDK sample is very helpful
for creating virtual disk driver.

FILE: Ramdisk.sys Sample Driver for Windows 2000
http://support.microsoft.com/?id=257405

To develop a kernel-mode driver, we should install corresponding Windows
DDK at http://www.microsoft.com/ddk.

BTW, in the future, it would be best to post DDK questions in the following
newsgroups.
Microsoft.public.ddk
Microsoft.public.win32.programmer.kernel

Hope this helps.

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
Back
Top