I  was going through the vold source code and found that vold is
written in a way to mount more than one sdcards. The volume_t
structure is a linked list that holds information of the nodes ( sd
slots ).

There is support for this in the vold code but looks like it is
partially done. In volmgr_send_states function there is a loop where
it sends the states of all the sd slots connected but there is a break
in the while loop that is intentionally added to break after sending
the state of the first sd card. Why is this?

Is there a plan to support at a later stage. Also is there a
possibility of having devices with more than one sd slot? How is the
user space going to differentiate between the states of different sd
slots? There is only one variable in mountlistener.java that maintains
the state sent from vold.


--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to