Re: EWF with compressed NTFS on CompactFlash
- From: "Paolo Dematteis" <pdematteis@xxxxxxxxxxxxxxxx>
- Date: Tue, 28 Nov 2006 09:40:41 +0100
Hi,
I perform the shutdown using the API "ExitWindowsEx (EWX_SHUTDOWN |
EWX_FORCE | EWX_POWEROFF)", but in many situations the power-off is not
performed as I use an AT power supply.
Just before this command I run the "ewmgr -commit" using a Shell command in
a VB6 application.
I tried this solution to be p&p with the previous XPe distributions, without
the EWF protection, that use only one partition on the CF (I made a patch to
add the EWF driver and related registry setting at runtime).
I use a -commit just before the shutdown because I noticed that after the
commit the CF become unprotected. Is there a way to be sure that the commit
has completed the write operation and than perform a safe shutdown? I need
to preserve changed registry data an some application related files like a
DB and a log.
In the future I think the best solution is to use two different partitions,
but I need to find the best on for the released products.
Thanks
"KM" <konstmor@xxxxxxxxxxxxxxxx> ha scritto nel messaggio
news:uYnQKElEHHA.4208@xxxxxxxxxxxxxxxxxxxxxxx
Paolo ,
How exactly do you perform the shutdown?
Also, it is not a good practice to commit the entire EWF overlay on CF
frequently. You may end up with some corrupted blocks and data on the
flash.
If doing the commit is only for purpose of your app saving its data, you
may rather want to think about using EWF file only commit (to many
limitations on the file size and location though) or, the best for your
system scenario, to move to use FBWF component from FP2007 instead of EWF.
With FBWF you will be able to protect the entire system but still have
certain files unprotected. This way you wouldn't be needing to commit
changes in the entire overlay and touch registry hives.
--
=========
Regards,
KM
"Paolo Dematteis" <pdematteis@xxxxxxxxxxxxxxxx> wrote in message
news:uX6v6ChEHHA.1224@xxxxxxxxxxxxxxxxxxxxxxx
Hi, all
do anyone have some experience using EWF (XPe SP2) on CompactFlash with a
compressed NTFS file system?
I tried this solution:
- 256 MB PQI industrial CF
- compressed NTFS file system
- XPe SP2 image with RAM/REG EWF enabled
- a custom shell (my application)
- "ewfmgr -commit" before the shutdown each time the user exit the
program correctly (to save all the pending data)
Normally this works fine, but in some case I experienced a registry
corruption causing a blue screen on next boot.
Any idea?
Thanks.
---------------------------------------------------------------------------------------------------------------
Paolo Dematteis - DELTA VISIONE S.r.l.
Via Spegazzini, 4
10010 - Bairo (TO) - ITALY
Tel: +39.0124.501858
Fax: +39.0124.501857
e-mail: pdematteis@xxxxxxxxxxxxxxxx
web: www.deltavisione.com
---------------------------------------------------------------------------------------------------------------
Ai sensi del D.Lgs 196/2003, si precisa che le informazioni contenute in
questo
messaggio e negli eventuali allegati sono riservate e per uso esclusivo
del destinatario.
Persone diverse dallo stesso non possono copiare o distribuire il
messaggio a terzi.
Chiunque riceva questo messaggio per errore, è pregato di distruggerlo e
di informare
immediatamente info@xxxxxxxxxxxxxxxx
.
- References:
- EWF with compressed NTFS on CompactFlash
- From: Paolo Dematteis
- Re: EWF with compressed NTFS on CompactFlash
- From: KM
- EWF with compressed NTFS on CompactFlash
- Prev by Date: FBWF and FAT16
- Next by Date: Re: Intel embedded graphics driver
- Previous by thread: Re: EWF with compressed NTFS on CompactFlash
- Next by thread: FBWF
- Index(es):
Relevant Pages
|
|