Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

@DRIVETYPE shows IMDISK as 3 Fixed Disk, not 6 RAM Disk

Aug
1,917
68
Code:
c:\users\jlc\utils>ver

TCC  24.02.48 x64   Windows 7 [Version 6.1.7601]

I am using IMDISK;
Code:
c:\users\jlc\utils>imdisk --version
Control program for the ImDisk Virtual Disk Driver for Windows NT/2000/XP.
Version 2.0.10 - (Compiled Nov 25 2018)

Copyright (C) 2004-2018 Olof Lagerkvist.

http://www.ltr-data.se     [email protected]

...to create a RAM Disk;
Code:
@setlocal
@echo off
iff exist t:\ then
  echo T: Drive already exists
else
  imdisk -a -s 512M -m T: -p "/fs:ntfs /q /y" -o awe
endiff
endlocal

...but @DRIVETYPE returns 3 Fixed Disk instead of 6 RAM Disk.
Code:
c:\users\jlc\utils>echo %@drivetype[t:]
3

...and I am not sure why.

Joe
 
In 2009, Steve Fabian reported the same with regard to Qsoft's ramdisk (claimed to be based on MS's published method).
 
Windows 10 has:

1. c:\windows\inf\ramdisk.inf
2. c:\windows\system32\drivers\ramdisk.sys
3. HKLM\System\CurrentControlSet\Services\Ramdisk

Does anyone know what they are all about?
 
They are for iSCSI ramdisk: target.
The logic is, you create a `ramdisk:…` target, then make a client connection to yourself and use it as your local disk.
 
Back
Top