Slobodan,
Easier, of course. But I would like to keep image file size on minimum, and that require some file analysis.
We have three different types of regions on disk.
1. Data area occupied by hiberfile
2. FS area with valid data in it.
These two above I was actually referring to. But you are right, that would require some FS analysis.
3. FS available clusters of data not assigned to any file in FS.
If we have 1GB of ram hiberfile would be 1GB. But internal hiberfile usage could be less than 50 MB. And we would need only to
save valid data to image file. (Or some other form of specific analysis of this file could be also used)
Because of compression it could be hard to capture only changed blocks in hiber file unless you know the hiber file format.
After reboot both FS and hiber file would be updated. Also steps 2 and 3 would allow us not to overload RAM overlay with sectors
that are not used by FS.
I probalby missed the step from your list where you update the files (to be commited) on the disk through direct access.
No, I would not

I do not expect heavy usage of RAM overlay during this procedure at all. (Unless you update your image from SP1 to SP2)
I have just re-read your previous message (with fresh head now

) and finally found the missing peice because of which I could
not undertand why you are trying to "trick EWF".
I understand it now. You basically just want to create a situation where any OS file reads/writes to the sectors that we need to
update on the client will go to EWF overlay. Then any changes that go directly to the disk for those sectors won't break anything
from OS/FS point of view because FS will continue using EWF RAM OVerlay version of these sectors during this session anyway.
With that in mind, my question about the EWF RAM usage does not make much sense
Interesting solution.. Although I still believe this would worth efforts if you could lower the number of sectors to be updated in
hiber.sys file. Who wants to dowload 1G file when you can just create it locally (and this will add one more reboot).
Btw, you coudl use your idea in SP1 where EWF does not support committting particular files (sectors).
Right now in the filed you have to do a reboot on the client to clean up the EWF overlay from all the unnecesary user changes. then
you do the admin required changes and commit them to the disk, do the reboot again.
Instead of all this, we can just "trick the EWF" following your method and then update the changed sectors directly on disk level
and do only one reboot.
Thanks,
Konstantin