at the moment, things work as follows:
userdata-qemu.img is the persistent partition image for /data

userdata.img is the *initial* version of /data that gets copied into
userdata-qemu.img when you do -wipe-data

sdcard.img, if present or specified with -sdcard <file>, corresponds to
/sdcard

cache.img if specified with -cache <file> corresponds to /cache. if none is
specified, an empty temporary file is created at emulator startup and /cache
will be mounted to it. this temp file is automatically cleaned up at exit.

system.img is the initial content of / (with the exceptions noted above). At
startup, the emulator currently creates a new temporary file, copies the
content of system.img into it, and use that (so changes to / and /system are
not persistent).

the size of the system, data and cache partitions are currently hard-coded
in the emulator to match these of the G1, they will become adjustable in the
future.

For the near future, a "virtual machine" is a directory that contains:

- its own persistent userdata-qemu.img
- its own persistent cache.img
- an optional persistent sdcard.img
- an optional persistent system.img  (if none exists, the emulator will
create a temp file and copy the initial version into it, then later destroy
the temp file).
- some configuration information (e.g. hardware properties like
touch/no-touch, dpad/trackball/etc...)
- an optional skin directory


On Thu, Jan 15, 2009 at 4:51 PM, twebb <[email protected]> wrote:

>
> > for the record, a future release of the SDK will feature "virtual
> machines",
> > where each VM corresponds to a directory holding persistent disk images,
> > including a cache.img disk image.
> >
>
> Could you add some detail to the "virtual machines" feature and to
> what you mean by persistent disk images?  Are /, and /system, and /
> data, and /cache each considered a "disk"?
>
> And does google have guidelines/suggestions for the /cache size?  Is
> there any sort of documentation for OTA system updates that would help
> me determine how to size /cache?
> >
>

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to