Re: EvfMgr C: -commit followed by Power Down gives lost changes
From: Doug Hoeffel (doug.hoeffelNo_at_SpAmMcamtronics.com)
Date: 12/02/04
- Next message: KM: "Re: Serial Communication Problem"
- Previous message: Slobodan Brcin \(eMVP\): "Re: EvfMgr C: -commit followed by Power Down gives lost changes"
- In reply to: Lasse: "Re: EvfMgr C: -commit followed by Power Down gives lost changes"
- Next in thread: Richard: "Re: EvfMgr C: -commit followed by Power Down gives lost changes"
- Reply: Richard: "Re: EvfMgr C: -commit followed by Power Down gives lost changes"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 2 Dec 2004 13:45:21 -0600
Lasse:
After the commit then force a restart using:
shutdown -r -t 0
You can add this in your bat file after the "ewf C: -commit"
HTH... Doug
"Lasse" <Lasse-NO@SPAM-engdahl.com> wrote in message
news:OvTP%23LJ2EHA.1152@TK2MSFTNGP14.phx.gbl...
> Hi
> My problem is that the (some) users of the system sometimes makes commit
> then reboots the by turning power off/on (it is much easier).
>
> My intention is to create a file Commit.bat that does:
> C:\SomeSecretDir\EwfMgr C: -commit
> Sync C: # flush
>
> Meaning the users can only use the commit.bat file that flushes the disk.
>
> Sync (www.sysInternals.com)
> UNIX provides a standard utility called Sync, which can be used to direct
the
> operating system to flush all file system data to disk in order to insure
that
> it is stable and won't be lost in case of a system failure. Otherwise, any
> modified data present in the cache would be lost. Here is a an equivalent
that
> I wrote, called Sync, that works on all versions of Windows. Use it
whenever
> you want to know that modified file data is safely stored on your hard
drives.
>
> Will this work.
> Could this function be above the EWF and not operate on the disk ?
>
> I have a SanDisk FlashDisk, NTFS, compressed, 60 Mbyte.
> commit is only used for some change of settings and update of
applications.
>
> Slobodan Brcin (eMVP) wrote:
> > Hi Lasse,
> >
> > What do you mean by that? Could you explain?
> >
> > Regards,
> > Slobodan
> >
> > "Lasse" <Lasse-NO@SPAM-engdahl.com> wrote in message
news:eB7eQkI2EHA.204@TK2MSFTNGP10.phx.gbl...
> >
> >>Thanks for the answer.
> >>Yes, I am using RAM EWF.
> >>I will try using Sync.exe from SysInternals to solve my problem.
> >>
> >>Lasse
> >>
> >>Slobodan Brcin (eMVP) wrote:
> >>
> >>
> >>>Lasse,
> >>>
> >>>commit is just a notification to driver that it should save data from
overlay to disk.
> >>>If you are talking about RAM EWF then this save happens only during the
graceful shutdown, not before.
> >>>
> >>>Regards,
> >>>Slobodan
> >>>
> >>>"Lasse" <Lasse-NO@SPAM-engdahl.com> wrote in message
news:OSaztDI2EHA.2804@TK2MSFTNGP15.phx.gbl...
> >>>
> >>>
> >>>>Hi All
> >>>>I use "EwfMgr C: -commit", and a short time after that the power is
> >>>>turned off. What should happen ?
> >>>>
> >>>>I thought that -commit made the changes to be flushed to the disk.
> >>>>But it seems to me that there is some kind of delayed write to the
disk.
> >>>>Turning off the power makes the changes to be lost.
> >>>>If I make a graceful shutdown, everything works OK.
> >>>>
> >>>>If I am right, is there some utility or API I can use to flush
> >>>>everything to the disk after commit.
> >>>>
> >>>>Lasse
> >>>
> >>>
> >>>
> >
> >
- Next message: KM: "Re: Serial Communication Problem"
- Previous message: Slobodan Brcin \(eMVP\): "Re: EvfMgr C: -commit followed by Power Down gives lost changes"
- In reply to: Lasse: "Re: EvfMgr C: -commit followed by Power Down gives lost changes"
- Next in thread: Richard: "Re: EvfMgr C: -commit followed by Power Down gives lost changes"
- Reply: Richard: "Re: EvfMgr C: -commit followed by Power Down gives lost changes"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|