P
psucro
I have a Windows XPE system using EWF RAM-REG on the C: partition,
using FAT32.
The system contains a 30-40 Gig drive with only C: protected.
I have several other partitions using NTFS. I've noticed once in a
while we get a
inode (file allocation table element in NTFS) corrupt with NTFS.
I've seen the information on the dirty flag, and it causing auto disk
checks on startup.
(method 1) Will this work with EWF, or is this dirty flag stored
somewhere on the boot partition,
which is write protected.
I would rather not enable the disk protection, since the device will be
disk checked on powerup and slow the startup considerably.
-------------------------
So another proposed method would be to flush on power-fail.
The power supply could provide 500-1000 mS of hold-up time to allow
this flush, on powerfail conditions.
(method 2) Is there a way to have windows lock the drives and flush the
contents.
(NOTE: I've seen the information on using HORM, with lock, and
dismount, just before hibernation file is created.)
--> I thought I could use this code to do a quick shutdown, by
locking and dismounting all the drives in the sytem, but I always get
errors (5 - Access is denied.) trying to lock the drive.
see the microsoft link -
http://msdn.microsoft.com/library/d...mesInHibernateOnceResumeManyConfiguration.asp
The code for dismount_all_in_one.cpp does not appear to work, since
some files are open on the drives being locked.
(I've tried removing system restore and other stuff, I used
sysinternals to look at open files also.)
But any way, how can I force the flush even through files are open,
then force a disconnect to prepare for power-fail condition.
Thanks in advance.
Paul Sucro.
using FAT32.
The system contains a 30-40 Gig drive with only C: protected.
I have several other partitions using NTFS. I've noticed once in a
while we get a
inode (file allocation table element in NTFS) corrupt with NTFS.
I've seen the information on the dirty flag, and it causing auto disk
checks on startup.
(method 1) Will this work with EWF, or is this dirty flag stored
somewhere on the boot partition,
which is write protected.
I would rather not enable the disk protection, since the device will be
disk checked on powerup and slow the startup considerably.
-------------------------
So another proposed method would be to flush on power-fail.
The power supply could provide 500-1000 mS of hold-up time to allow
this flush, on powerfail conditions.
(method 2) Is there a way to have windows lock the drives and flush the
contents.
(NOTE: I've seen the information on using HORM, with lock, and
dismount, just before hibernation file is created.)
--> I thought I could use this code to do a quick shutdown, by
locking and dismounting all the drives in the sytem, but I always get
errors (5 - Access is denied.) trying to lock the drive.
see the microsoft link -
http://msdn.microsoft.com/library/d...mesInHibernateOnceResumeManyConfiguration.asp
The code for dismount_all_in_one.cpp does not appear to work, since
some files are open on the drives being locked.
(I've tried removing system restore and other stuff, I used
sysinternals to look at open files also.)
But any way, how can I force the flush even through files are open,
then force a disconnect to prepare for power-fail condition.
Thanks in advance.
Paul Sucro.