Re: Files in RAM
- From: Valter Minute <v_a_l_t_e_r.m_i_n_u_t_e@xxxxxxxxxxxxx>
- Date: Thu, 26 Jul 2007 01:01:22 -0700
80.rishi@xxxxxxxxx wrote in
news:1185413585.405619.265840@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:
Thanks for a quick reply. I have few more doubts. Will RAM and ROM
file system fix my issue ?
1) If I change my file system to RAM and ROM, then the files I
create using fopen will be in RAM. Is that correct ?
No. The files that you create into mount-points for mass-storage
devices are stored on that devices.
If you mounted a mass-storage device as root, then also with RAM&ROM
fs all the files are stored on that device.
2) But if I change my filesystem to RAM and ROM, then will lose
all the drivers I installed after power off and power on ?
No. You can use hive-based registry to save the registry information
they wrote (or implement OEM functions to save RAM based registry)
and use a mount-point as installation directory.
Some CAB files install their contents inside \Windows dir, and this
may lead to problems.
If you can't change the installation files or include that drivers
inside your OS image, then you may mount a mass-storage device as
root and use the ramdisk driver to create a directory where you can
store temporary files.
If yes, then if I embed all the driver dlls with the image
itself
instead of installing, then will I be still losing the dlls after
a power off and power on (I have built a ram image, stored it in
flash and during every power on, I'm copying the image from flash
to RAM and execute from there) ?
You should embed the DLLs and the registry information contained in
the CABS. There are some CAB inspecting utilities that will allow
you to recover those information easily or you may open the CAB
using an unzip program and read it's installation script.
--
Valter Minute
(the reply address of this message is invalid)
(l'indirizzo di reply di questo messaggio non è valido)
.
- References:
- Re: Files in RAM
- From: Valter Minute
- Re: Files in RAM
- Prev by Date: config.bib file
- Next by Date: Re: CEPC Does not recognize Hard Drive
- Previous by thread: Re: Files in RAM
- Next by thread: Audio Device Driver Problem in OMAP2430
- Index(es):
Relevant Pages
|