Re: Files in RAM



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)
.



Relevant Pages

  • Re: motherboard installation
    ... i installed new motherboard, all correct, cos i've done it few times, ... it power up, hdd activity ... Something is amiss with your hardware installation, ... If that doesn't work then remove the video card and the RAM and try ...
    (microsoft.public.windowsxp.hardware)
  • Re: [ANNOUNCE] Ramback: faster than a speeding bullet
    ... window during which UPS power must remain available if power goes out, ... they aren't arguing that the embedded solutions are more safe becouse they don't use linux. ... the reason why battery backed ram on a raid card is safer than a UPS on a general purpose machine is becouse the battery backed ram is static ram, while the ram in your system is dynamid ram. ...
    (Linux-Kernel)
  • Re: How can I compare single and dual channel Ram performance
    ... DVD-CD/RW, and RAM ... I think the power situation on overclocked D-805 systems ... extreme cooling etc., if you aim for 4GHz or higher. ... 12V1 powers hard drives, CDROM, case fans, and video card. ...
    (alt.comp.periphs.mainboard.asus)
  • Re: P5N32-SLI DL
    ... I am on my third motherboard an 6th set of ram, I also tried patriot DDR 2G8000 and this fails as well. ... In all cases the system locks up after a while and when I run Microsoft's Ram tester I get errors on the LDAP test on the third pass and every pass after that. ... I have loaded the latest beta bios and that has improved things slightly but the system still locks up and the memory tester fails again on the random LDAP test but less frequently. ... Good stability once you get enough power and cooling. ...
    (alt.comp.periphs.mainboard.asus)
  • Re: Seeking an explanation or theory
    ... It had been running with 512 MB and can accept either high density or low density RAM in any combination up to 2 GB. ... Upon returning to the computer I plugged in the power cord to the A/C and immediately the computer tried to start without having pushed the power start button on the computer front. ... Since I did not want to give someone a computer that could go into a power oscillation like I describe above, I wired in a reset button as this computer did not come with one. ...
    (sci.electronics.repair)