can i do it on ce5? or ce6? what's the solution? I know windows mobile can
do it,3x

Re: how could i save files in windows folder? by Bruce

Bruce
Tue May 13 05:46:41 PDT 2008

Do you mean how do you persist files in the Windows folder when power is
removed?

What you are looking for is Mount as Root. You then need to set up your
persistent storage to be mounted as the root folder, check PB help for more.

--
Bruce Eitman (eMVP)
Senior Engineer
Bruce.Eitman AT EuroTech DOT com

EuroTech Inc.
www.EuroTech.com

"Tony" <tony_lin21@hotmail.com> wrote in message
news:%23j%23DOCPtIHA.2292@TK2MSFTNGP03.phx.gbl...
> can i do it on ce5? or ce6? what's the solution? I know windows mobile can
> do it,3x
>
>
>



Re: how could i save files in windows folder? by tony

tony
Tue May 13 08:49:01 PDT 2008

yes, I meant persist files when power is removed.
Let me describe the condition first. My system is using nand booting. there
are several blocks for OEMReserve(bootloader, toc...) from the begin of the
chip. After that we have MBR, which divide storage into three part(binfs,
hivereg, fatfs). Original setting is we mount the third partition as a
folder(like 'storage'), so we can put some persist files here.
Now I want the device can hold all files as persist. users can store files
in any folder, like 'windows', 'temp' or 'My Documents'. But I don't know how
to do it. I tried to mount the fatfs as root folder, but it doesn't work. Do
you have any idea in this case? 3x

"Bruce Eitman [eMVP]" wrote:

> Do you mean how do you persist files in the Windows folder when power is
> removed?
>
> What you are looking for is Mount as Root. You then need to set up your
> persistent storage to be mounted as the root folder, check PB help for more.
>
> --
> Bruce Eitman (eMVP)
> Senior Engineer
> Bruce.Eitman AT EuroTech DOT com
>
> EuroTech Inc.
> www.EuroTech.com
>
> "Tony" <tony_lin21@hotmail.com> wrote in message
> news:%23j%23DOCPtIHA.2292@TK2MSFTNGP03.phx.gbl...
> > can i do it on ce5? or ce6? what's the solution? I know windows mobile can
> > do it,3x
> >
> >
> >
>
>
>

Re: how could i save files in windows folder? by Paul

Paul
Tue May 13 09:09:28 PDT 2008

Then, as mentioned, mount the fatfs section as the root of the filesystem
and *every* folder, including \windows, will be persistent. You'll probably
want to select ROM-only Filesystem from the catalog, too.

"Doesn't work" is useless information. You need to make sure that the
sections of the registry that configure your filesystem as the root are in
the HIVE_BOOT_REGISTRY part of the registry. You also need to be sure that
the right HKLM/Init/BootVars/Flags value in the registry (again, and of
course, in the HIVE_BOOT_REGISTRY), so that the device manager or the
storage manager is started early during the boot process, depending on which
of those loads your filesystem driver. Once you're sure that you've done
all of that correctly, run a DEBUG build of the OS and show us what happens!

Paul T.

"tony" <tony@discussions.microsoft.com> wrote in message
news:A1B2A04C-0FE8-4F47-A559-5DD5C9CBCA7C@microsoft.com...
> yes, I meant persist files when power is removed.
> Let me describe the condition first. My system is using nand booting.
> there
> are several blocks for OEMReserve(bootloader, toc...) from the begin of
> the
> chip. After that we have MBR, which divide storage into three part(binfs,
> hivereg, fatfs). Original setting is we mount the third partition as a
> folder(like 'storage'), so we can put some persist files here.
> Now I want the device can hold all files as persist. users can store files
> in any folder, like 'windows', 'temp' or 'My Documents'. But I don't know
> how
> to do it. I tried to mount the fatfs as root folder, but it doesn't work.
> Do
> you have any idea in this case? 3x
>
> "Bruce Eitman [eMVP]" wrote:
>
>> Do you mean how do you persist files in the Windows folder when power is
>> removed?
>>
>> What you are looking for is Mount as Root. You then need to set up your
>> persistent storage to be mounted as the root folder, check PB help for
>> more.
>>
>> --
>> Bruce Eitman (eMVP)
>> Senior Engineer
>> Bruce.Eitman AT EuroTech DOT com
>>
>> EuroTech Inc.
>> www.EuroTech.com
>>
>> "Tony" <tony_lin21@hotmail.com> wrote in message
>> news:%23j%23DOCPtIHA.2292@TK2MSFTNGP03.phx.gbl...
>> > can i do it on ce5? or ce6? what's the solution? I know windows mobile
>> > can
>> > do it,3x
>> >
>> >
>> >
>>
>>
>>



Re: how could i save files in windows folder? by tony

tony
Wed May 14 02:22:01 PDT 2008

done, it seems we must select ROM-only fs.

"Paul G. Tobey [eMVP]" wrote:

> Then, as mentioned, mount the fatfs section as the root of the filesystem
> and *every* folder, including \windows, will be persistent. You'll probably
> want to select ROM-only Filesystem from the catalog, too.
>
> "Doesn't work" is useless information. You need to make sure that the
> sections of the registry that configure your filesystem as the root are in
> the HIVE_BOOT_REGISTRY part of the registry. You also need to be sure that
> the right HKLM/Init/BootVars/Flags value in the registry (again, and of
> course, in the HIVE_BOOT_REGISTRY), so that the device manager or the
> storage manager is started early during the boot process, depending on which
> of those loads your filesystem driver. Once you're sure that you've done
> all of that correctly, run a DEBUG build of the OS and show us what happens!
>
> Paul T.
>
> "tony" <tony@discussions.microsoft.com> wrote in message
> news:A1B2A04C-0FE8-4F47-A559-5DD5C9CBCA7C@microsoft.com...
> > yes, I meant persist files when power is removed.
> > Let me describe the condition first. My system is using nand booting.
> > there
> > are several blocks for OEMReserve(bootloader, toc...) from the begin of
> > the
> > chip. After that we have MBR, which divide storage into three part(binfs,
> > hivereg, fatfs). Original setting is we mount the third partition as a
> > folder(like 'storage'), so we can put some persist files here.
> > Now I want the device can hold all files as persist. users can store files
> > in any folder, like 'windows', 'temp' or 'My Documents'. But I don't know
> > how
> > to do it. I tried to mount the fatfs as root folder, but it doesn't work.
> > Do
> > you have any idea in this case? 3x
> >
> > "Bruce Eitman [eMVP]" wrote:
> >
> >> Do you mean how do you persist files in the Windows folder when power is
> >> removed?
> >>
> >> What you are looking for is Mount as Root. You then need to set up your
> >> persistent storage to be mounted as the root folder, check PB help for
> >> more.
> >>
> >> --
> >> Bruce Eitman (eMVP)
> >> Senior Engineer
> >> Bruce.Eitman AT EuroTech DOT com
> >>
> >> EuroTech Inc.
> >> www.EuroTech.com
> >>
> >> "Tony" <tony_lin21@hotmail.com> wrote in message
> >> news:%23j%23DOCPtIHA.2292@TK2MSFTNGP03.phx.gbl...
> >> > can i do it on ce5? or ce6? what's the solution? I know windows mobile
> >> > can
> >> > do it,3x
> >> >
> >> >
> >> >
> >>
> >>
> >>
>
>
>