I'm happy with this, being both a *nix and Windows user, and treat C:\ as *nix / root. I even keep a C:\dev with reparse points for each '\\.\Device\HardDisk0\' '\\.\Device\CdRom0' etc mounted as 'C:\dev\hda' 'C:\dev\cd0'.
I'm looking forward to the day when Windows no longer uses Drive Letters as it's default means of identifying devices.
The question then...
ImDisk -a -t vm -f myimage.img -m C:\dev\vd0or
ImDisk -a -t vm -f myimage.img -m \\.\Device\VirtualDisk0which could then be junctioned to visible space from the Object Namespace, do not work directly. Is there some trick to achieving this, or is it simply not possible with the present implementation?
Please note, I am not looking to mount as drive Z: and then Junction Z:\ to a folder... I don't want a "drive letter" at all.
An example of something similar to what I'm looking at doing would be Microsofts' ImageX from the WAIK.
imagex /mountrw c:\winpe_x86\winpe.wim 1 c:\winpe_x86\mountis their example for building a custom Preinstallation Environment 2.0 image. You can add files to C:\winpe_x86\mount as you would any other directory, and the changes are made to the image, as the mount directory is actually an empty directory with the image mounted in it.
This works, but the speed increase of a vm backed image would be excellent for application tuning in some cases... Hence why I would like to do this with ImDisk rather than ImageX.