> To be honest, i really have no concrete idea as to WHAT shadowing IS. You
> can probably judge whether my understanding is accurate: To me, it means that
[quoted text clipped - 4 lines]
> to the ROM image are "saved" (i.e. shadowed), and will persist after reboots.
> Is that correct?
The only ROM folder is \Windows. All of ROM shows up in one flat list in
\Windows. No subdirectories of \Windows are ROM. \My Documents is not
ROM. (It probably gets set up during boot, by copying files from ROM to
\My Documents.) Otherwise your understanding of shadowing is correct: you
can drop newer versions of the ROM files into the \Windows directory --
they will be stored on your persistent file system and they will be the
files that are used instead of the ones in ROM.
> I then copied a file to "\Windows" and "\My Documents" and rebooted. It
> still didn't work - the file wasn't present in both directories. Is there
> something i'm doing fundamentally wrong?
The thing that makes me suspect that you are NOT using the ROM-only file
system is that your files are disappearing. That sounds like they are NOT
getting stored on your persistent file system. It sounds like you're using
the RAM file system without realizing it. What about files in the root
directory, do they persist? Do files anywhere persist? Or, do you have a
named directory that your persistent file system might be getting loaded
as, for example \Hard Disk?
To switch from the ROM/RAM file system to the ROM-only file system, you
have to change components in the catalog as well as do a clean rebuild.
Are you 100% sure you did both?
> Also, i am using the aggressive registry flushing approach because i dont
> change the registry that often. If i use the background flush thread instead,
> wont that introduce periodic thread flushing? That would also be a perf issue
> wouldn't it?
The thread is set up so that it won't wake up unless changes have been
made. Basically it waits a delay after the changes, then flushes. But
since the thread basically flushes at an unpredictable (to software) time,
it may not be suitable for your needs. It's all up to you, and the
aggressive flushing may be more along the lines of what you need.
Sue
sloh@microsoft.com (remove "online" from reply-to address)
http://blogs.msdn.com/sloh/
_____________________________________________________________
This posting is provided "AS IS" with no warranties, and confers no rights.
_____________________________________________________________
Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Let
us know!
https://www.windowsembeddedeval.com/community/newsgroups
Michael--J - 30 Nov 2004 23:55 GMT
You were right Sue, i only did one of the two things: i did change the
catalog items but i only did a build and sysgen w/out selecting the "Clean
before building" option. So i selected it this time and it worked. The
"\HardDisk" directory is now gone and files that i put into the "\Windows"
directory stay there. Thanks so much for your help Sue.
Kind Regards,
Michael--J.
> > To be honest, i really have no concrete idea as to WHAT shadowing IS. You
> > can probably judge whether my understanding is accurate: To me, it means
[quoted text clipped - 57 lines]
> us know!
> https://www.windowsembeddedeval.com/community/newsgroups
waqasdanish - 31 Jul 2008 07:32 GMT
Hi,
I have also done these steps in order to mount my NAND Flash as root. The
files are copied successully and remain in the persistent storage. But I am
having a strange problem. Whenever I copy files, approximately equal to the
size of Flash FAT partition, OS image is corrupted when I restart my board
and the bootloader stucks at the start. I think the files on NAND Flash
overwrite the WinCE image area on flash??
Any idea?
An immediate response in this regard shall be highly appreciated.
Regards,
Waqas
>You were right Sue, i only did one of the two things: i did change the
>catalog items but i only did a build and sysgen w/out selecting the "Clean
[quoted text clipped - 11 lines]
>> us know!
>> https://www.windowsembeddedeval.com/community/newsgroups