Using the RamDiskUI utility I get the exact behavior I need:
Settings:
Basic tab: Size 4GB, Drive letter: R, File system: NTFS
Advanced tab: Use AWE, Use Mount Point: C:\MyFolder\MyRamDisk
With the Advanced tab selected I press OK, and I get a formatted 4GB ram drive without a mapped drive letter. I can read/write to it from Windows exporer as well as programtically. Works Great!!
This is the entry I get in "Virtual Disk Driver Currently mounted virtual disks" list:
- Drive: (none)
- Image file: Physical memory
- Size: 4GB
- Properties: Read/write
- Filesystem: (none)
But, when I use the command line:
imdisk -a -s 4G -o awe -m C:\MyFolder\MyRamDisk <ENTER>
Creating device...
Created device 0: C:\MyFolder\MyRamDisk -> Image in memory
Done.
I get the same entry in the mounted virtual disks list but the mount point is not accessible:
Windows Message Box:
"C:\MyFolder\MyRamDisk is not accessible. The volume does not contain a recognized file system. Please make sure that all required system drivers are loaded and the volume is not corrupted"
It seems like the mount point is pointing to an unformatted device? ImDisk -l returns "\Device\ImDisk0"
Any thoughts?
Thanks in advance,
Chuck
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The imdisk.exe command line utility creates unformatted volumes, unless you use the -p switch.
Extract from the command line help:
-p "format-parameters"
If -p is specified the 'format' command is invoked to create a
filesystem when the new virtual disk has been created.
"format-parameters" must be a parameter string enclosed within
double-quotes. The string is added to the command line that starts
'format'. You usually specify something like "/fs:ntfs /q /y", that
is, create an NTFS filesystem with quick formatting and without user
interaction.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Using the RamDiskUI utility I get the exact behavior I need:
Settings:
Basic tab: Size 4GB, Drive letter: R, File system: NTFS
Advanced tab: Use AWE, Use Mount Point: C:\MyFolder\MyRamDisk
With the Advanced tab selected I press OK, and I get a formatted 4GB ram drive without a mapped drive letter. I can read/write to it from Windows exporer as well as programtically. Works Great!!
This is the entry I get in "Virtual Disk Driver Currently mounted virtual disks" list:
- Drive: (none)
- Image file: Physical memory
- Size: 4GB
- Properties: Read/write
- Filesystem: (none)
But, when I use the command line:
imdisk -a -s 4G -o awe -m C:\MyFolder\MyRamDisk <ENTER>
Creating device...
Created device 0: C:\MyFolder\MyRamDisk -> Image in memory
Done.
I get the same entry in the mounted virtual disks list but the mount point is not accessible:
Windows Message Box:
"C:\MyFolder\MyRamDisk is not accessible. The volume does not contain a recognized file system. Please make sure that all required system drivers are loaded and the volume is not corrupted"
It seems like the mount point is pointing to an unformatted device? ImDisk -l returns "\Device\ImDisk0"
Any thoughts?
Thanks in advance,
Chuck
The imdisk.exe command line utility creates unformatted volumes, unless you use the -p switch.
Extract from the command line help: