Re: Virtual Disk in User space



not really. if you enumerate a volume (i think) then you can fmt it and get
fat/ntfs to mount on top of it. as long as you redirect the i/o to the
right offset in your file, this should work at a low level.

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


"Sh@h" <Shh@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:0BF5A949-44F2-4EC8-B118-FA21FD29C7D3@xxxxxxxxxxxxxxxx
Thats great. Actually what I want to achieve is this:

A virtual device that will appear as a harddisk to the user. But the disk
actually maps to a filesystem in a single file (more like a filesystem
within
the operating system's filesystem - eg: AidAim FS). Like GoogleDrive,
except
for the fact that the files will be stored locally in a single file.

I guess I will have to write a full file-system driver + a harddisk
emulation driver. Am I right in assuming this ?

regards,
Sh@h

"Doron Holan [MS]" wrote:

actually, download KMDF
http://www.microsoft.com/whdc/driver/wdf/KMDF_pkg.mspx and use the KMDF
version of ramdisk. it has been updated and bugs have been fixed.

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no
rights.


"Stephan Wolf [MVP]" <stewo68@xxxxxxxxxxx> wrote in message
news:1155636566.265389.250910@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Sh@h wrote:
I want to create a virtual disk device. Could you please tell me
whether
it
is possible to build such a device & register it with windows in
user-mode ?

Old, but still useful:

FILE: Ramdisk.sys sample driver for Windows 2000
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q257405

Stephan






.



Relevant Pages

  • Re: UMDF and WinXP ?
    ... Please do not send e-mail directly to this alias. ... media devices for Windows Media Player, ... You can, however, download the UMDF 1.0 Beta bits from the same connect ... write a Windows driver and I don't need all the kernel stuff. ...
    (microsoft.public.development.device.drivers)
  • Re: WDK build environment...
    ... Please do not send e-mail directly to this alias. ... driver doesn't even load ... Sorry only if he builds with the Windows 2000 environment. ... missing on his machine, which is not missing on your own one. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: WDK build environment...
    ... Doron Holan wrote: ... Please do not send e-mail directly to this alias. ... Sorry only if he builds with the Windows 2000 environment. ... Windows 2k/XP/2k3 Filesystem and Driver Consulting ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Virtual Disk in User space
    ... I have downloaded your kmdf video from Channel9. ... Please do not send e-mail directly to this alias. ... actually maps to a filesystem in a single file (more like a filesystem ... I guess I will have to write a full file-system driver + a harddisk ...
    (microsoft.public.development.device.drivers)
  • Re: WDK build environment...
    ... it was a handheld professional camera. ... Please do not send e-mail directly to this alias. ... Sorry only if he builds with the Windows 2000 environment. ... Windows 2k/XP/2k3 Filesystem and Driver Consulting ...
    (microsoft.public.win32.programmer.kernel)