Thanks for the exhaustive answer! Now, I think the ticket can be moved to an archive.
I think the driver can ask from a disk implementation for the drive type.
GetDriveTypeW GetDriveTypeA should return DRIVE_RAMDISK