Strategy - advice sought.

B

Brian Schau

Hello,


First of all: thanks to all who responded to my question about sdi2hd!

I am setting up a kiosk mode application. The T5700 device will boot and
then kick off the kiosk-application. This application consists of two parts.
One part is a c# application. The other part is instantiated from this part -
the second part consists of an embedded windows explorer iframe (well, basically
.... :)

This setup doesn't require that much disk i/o. However, I would like to have
Documents and Settings in a sort of RAM disk. It is of no importance that the
contents of DandS is lost in case of a power off/reboot.
The root drive, however _should_ be protected from un-necessary writes.

So ... should I use EWF or a ram disk driver (or both)?

I'd love to hear your thoughts & ideas. Examples is also very welcome!


Kind regards,
Brian
 
S

Slobodan Brcin

If you have enough ram to backup all changes then RAM EWF is the best
solution. It won't use more memory than needed. But you will need to have
extra space on your protected partition.
If your disk is CF then RAM drive is better solution for temp files since
you probably don't want to waste space on your CF. EWF is required in both
cases.

Regards,
Slobodan
 
K

KM

Brian,

In another thread you have mentioned you got only a CF card in your device,
so the EWF/RAM based overlay (or any other write filter driver) would be
almost a requirement for you (limitted number of write cycles problem).
However, to avoid overflowing of the EWF cache and save some RAM for your
apps you may put OS temporary files on to a ram drive. To do so, you will
have to implement a ram drive in your XPE image (you may integrate any
existing ram drive implementation, search this NG archive for more info).
Then you can set up your Temporary Internet Files paths to be on the ram
drive. The same may be applied to default print spool directories and etc.
The registry you may want to take a look at are:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet
Settings\Cache\Paths], "Directory"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet
Settings\Cache\Paths\path#],"CachePath"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Print\Printers], "DefaultSpoolDirectory"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers],"Defaul
tSpoolDirectory"
[HKEY_USERS\.DEFAULT\Environment], "TEMP", "TMP"
[HKEY_USERS\.DEFAULT\Software\Microsoft\Internet Explorer],"Download
Directory"
[HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer\Shel
l Folders],"Cookies","Cache","History","Local Settings","Local AppData"
[HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer\User
Shell Folders],...
(the last registry settings may allow you to change default location for any
user account profiles)

KM,
BSquare Corp.

BS> Hello,


BS> First of all: thanks to all who responded to my question about
BS> sdi2hd!

BS> I am setting up a kiosk mode application. The T5700 device will
BS> boot and then kick off the kiosk-application. This application
BS> consists of two parts.
BS> One part is a c# application. The other part is instantiated from
BS> this part -
BS> the second part consists of an embedded windows explorer iframe
BS> (well, basically ... :)

BS> This setup doesn't require that much disk i/o. However, I would
BS> like to have
BS> Documents and Settings in a sort of RAM disk. It is of no
BS> importance that the contents of DandS is lost in case of a power
BS> off/reboot.
BS> The root drive, however _should_ be protected from un-necessary
BS> writes.

BS> So ... should I use EWF or a ram disk driver (or both)?

BS> I'd love to hear your thoughts & ideas. Examples is also very
BS> welcome!


BS> Kind regards,
BS> Brian

With best regards, KM. E-mail: (e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top