Re: SP2 Dismounting Volumes in a Hibernate Once/Resume Many Config
From: Slobodan Brcin \(eMVP\) (sbrcin_at_ptt.yu)
Date: 01/17/05
- Next message: Slobodan Brcin \(eMVP\): "Re: USB Printer Problem"
- Previous message: Desi: "Re: Compressed version of SDI image?"
- In reply to: gerros: "Re: SP2 Dismounting Volumes in a Hibernate Once/Resume Many Config"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 17 Jan 2005 15:59:36 +0100
Hi Gerros,
Usually you will RAM EWF protect only OS volume which is usually C: and with that assumption all non C: volume FS should be
dismounted.
> Im not 100% sure, but i think its only necessary to unlock dismount fixed
> partitions?
> Removable Devices seems to work without unlock.
Don't relly on this, since you might encounter problems with data consistency later on which will be hard to spot.
> Nevertheless in my opinion this program should from MS.
Feel free to tell them that:
http://msdn.microsoft.com/embedded/community/community/feedback/feedxp/default.aspx
Regards,
Slobodan
"gerros" <gerros@discussions.microsoft.com> wrote in message news:D4FAD0AD-228D-419F-B485-22994C3D7190@microsoft.com...
> KM and Slobodan thanks for your answers!
> It works now for me!
> To detecting all not writeprotected partitons is not so easy.
> So i choose the option of a command line argument.
>
> Im not 100% sure, but i think its only necessary to unlock dismount fixed
> partitions?
> Removable Devices seems to work without unlock.
>
> Nevertheless in my opinion this program should from MS.
>
> Regards gerros
>
> Regards gerros.
>
>
> "Slobodan Brcin (eMVP)" wrote:
>
> > Hi Geros,
> >
> >
http://groups-beta.google.com/group/microsoft.public.windowsxp.embedded/browse_frm/thread/d861295f3938308b/dd4e492f8e2a65c3#dd4e492f8e2a65c3
> >
> > > All DeviceIoControlfunctions returns with an OK state.
> > > Then i want to see whats happen with the unprotected partition.
> > > In my opinion, with the exporer it should not possible to access to the
> > > dismounted partiton, but ist was possible, strange?
> > > Is this behavior normal?
> >
> > Only if your application terminated or unlocked volume.
> >
> > Use following:
> > 1. Detect all not writeprotected partitions
> > 2. lock and dismount them
> > 3. create the hibernate file
> > 4. after boot from the hibernatefile end your application and it will unlock all volumes by default.
> >
> > Regards,
> > Slobodan
> >
> >
> >
> > "gerros" <gerros@discussions.microsoft.com> wrote in message news:595A4797-6381-483B-9EAB-9E44541795DD@microsoft.com...
> > > If tried to write a programm as discribed in the following technical article:
> > >
> >
http://msdn.microsoft.com/embedded/usewinemb/xp/techrsrcxp/techarticles/default.aspx?pull=/library/en-us/dnxpesp2/html/HORMDismountingVolumesInHibernateOnceResumeManyConfiguration.asp
> > >
> > > But some things are not so clear:
> > >
> > > If done the following as discribed in the article.
> > > I've done Point 1 and 2 auf the artikel. (Lock,Dismount)
> > > All DeviceIoControlfunctions returns with an OK state.
> > > Then i want to see whats happen with the unprotected partition.
> > > In my opinion, with the exporer it should not possible to access to the
> > > dismounted partiton, but ist was possible, strange?
> > > Is this behavior normal?
> > >
> > > But part what make the most problem is point 5:
> > > To allow the system to rediscover the volume, it first must be unlocked. Use
> > > the DeviceIoControl function with the dwIoControlCode parameter
> > > FS_UNLOCK_VOLUME. This unlocks the volume.
> > > The volume must be unlocked immediately after the system boots.
> > >
> > > How is this to understand?
> > > Where is Point to start this, or how do i know that i boot from an
> > > hibernatefile?
> > > Is there any entry point?
> > >
> > > If i try to unlock the volume manually after boot from the hibernate state,
> > > i've got a FAIL from the DeviceIoControl.
> > >
> > > Anyone here has successfully written a programm, what has done this as
> > > described in the artice?
> > >
> > > On the other side, should Microsoft not support us with a Programm what do
> > > exactly this like this an advanced XPEPM.exe?
> > > 1. Detect all not writeprotected partitions
> > > 2. ock and dismount them
> > > 3. create the hibernate file
> > > 4. after boot from the hibernatefile unlock the partitons again.
> > >
> > > Regards
> > > gerros
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > Openb
> > > Lock ismount the
> > >
> >
> >
> >
- Next message: Slobodan Brcin \(eMVP\): "Re: USB Printer Problem"
- Previous message: Desi: "Re: Compressed version of SDI image?"
- In reply to: gerros: "Re: SP2 Dismounting Volumes in a Hibernate Once/Resume Many Config"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|