I just did a rethink of my problem. I am stating my problem again. I
realized I don't require the second part. Please ignore the previous
post.

I am compiling android from source and wish to have the following
functionality in it.

The SD card inserted in the device will have two partitions. I wish
that the android device initially mounts the first partition(at /
sdcard) which is the normal mode of functioning. On the switch of mode
through a user command, I want that the first partition be unmounted
and the second gets mounted in its place(at /sdcard itself).
Can someone please guide me on how I might be able to unmount the
first partition and mount the second partition in its place ( which
files need to be modified or where to look)?


On Jul 23, 7:04 am, Akhilesh Gupta <[email protected]>
wrote:
> I am compiling android from source and wish to have the following
> functionality in it.
>
> 1. The SD card inserted in the device will have two partitions. I
> wish
> that the android device be able to mount both these partitions
> separately as SD card storage (for eg: /sdcard1 and /sdcard2).
> Can someone please guide me on how I might be able to achieve that
> ( which files need to be modified or where to look)?
>
> 2. If this is achieved (the two partitions are mounted as /sdcard1
> and /sdcard2), I want that when an application tries to write a file
> on the SD card, the device decides whether to put it in /sdcard1 or /
> sdcard2. Can someone tell me where the writing to the SD card is
> implemented so that I can modify it to be able to achieve this?
>
> Thanks for your time and patience
> Akhilesh Gupta
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to