On 3/25/06, jagan nath <[EMAIL PROTECTED]> wrote: > - if I want to use the second volume how do i mount it , as per my > understanding i can mount only one volume at a time, so if i have > already mounted volume1 how do i unmount it and mount the second > volume.
You cannot unmount volumes. To use more than one volume, you must wire to each individually. > - I have tried mounting both volumes in stdcontrol.init() but mount > done is not firing ( checked with an led). If I mount only one volume > then only the mountdone event is gettingf fired. The storage stack can only take a single request at a time. Calling mount twice in succession will not work. This is similar to how the radio stack behaves in tinyos-1.x in that the radio stack only accepts one packet at a time. > - one blunt way of managing teh flash would be to format teh whole > flash into a single volume and mount it altogether.And make logical > partitions. But I want to know if there is a better way of doing it. Have a separate interface for each volume you want to manage. -- Jonathan W. Hui [EMAIL PROTECTED] http://www.cs.berkeley.edu/~jwhui/ _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
