RamDrive on XPe

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I need a ramdrive for my project. The ramdrive must have a size of more than
640MB. The applcation creates and destroys lots of files verry rapidly.
Until now I have used EWF on drive c: on with a CF card. But the protected
volume was only 450MB of size and EWF avoids the use of more than the
protected size of the drive.
I have found a ramdrive componets on the XPe database. How can I use this
driver?
If XPe is really embedded there must be a ramdrive, isn't it?
Thanks for all solutions.
 
Hi,

XPe ramdrive allow you to place all files in one SDI image file and to boot from memory data provided by that SDI file.
So if you made a SDI file larger then 640 MB it would be loaded in memory and you would have it as a disk unfortunately this load
take time so you must use third party solutions instead of this one.

One of free ramdisks that you can use is the ramdisk sample driver make by MS and it is available for download.

Regards,
Slobodan
 
Thank for your answers,

I know the example driver from Microsoft. It is a FAT16 driver with max size
of 64MB. I need FAT32. I do not have the time to extend the driver for my
needs.

Concerning the SDI. I always read suggestions of using the SDI but how
should it work? The SDI is as large as the ramdrive will be. If you need a
ramdrive of 640MB the SDI file must have a size of 640MB too. And where
should the SDI be stored if the system has a CF with only 450MB of space???

Why has this EMBEEDED XP no ramdrive componet. I think it is verry
necessary for real embedded systems. I only need a simple ram based one with
no persistance functionality.

The driver you mentioned has the name "ramdrive.sys". Is there a possibility
to use the driver as a "ramdirve driver". Nor SDI or EWF functionality??? Are
there any hidden registry entires that are used by that driver??
 
Hello,

Basic idea what you can do with SDI image.

1. Create SDI imageof 640MB size.
2. Defragment all files to be on start of FS and SDI image itself.
3. Trim file so that end of file is non existent.
4. Make custom loader that will load sdi file and report it as file with full size.

And you got 640 Mb ramdisk with XPe files that fit in file of 100-200 MB.

But this is do it yourself solution :-(

Regards,
Slobodan
 
Thanks,

but this is not a practicable solution and it sounds complicated and
therefore not usable for real embedded devices.
Will SP3 for XPe have a RamDisk component?
What about the mentioned ramdisk.sys driver from the embedded database?
 
What about the mentioned ramdisk.sys driver from the embedded database?
This driver only use SDI file for ram boot scenario and I was talking how you can use it.

Other solution is MSFT source sample ramdisk driver that you can modify/use for your ramdisk needs.

Regards,
Slobodan
 
Back
Top