It turns out the output from |vdc volume list| changed in versions of Android greater than 17, where an additional column was introduced. We should make sure we support either format.
Created attachment 8435922 [details] [diff] [review] Support Android versions <= 17 when mapping volume names to mount points. v1.0
Comment on attachment 8435922 [details] [diff] [review] Support Android versions <= 17 when mapping volume names to mount points. v1.0 This looks good to me. I wonder if it wouldn't be clearer to iterate through the list of volume lines returned by the command and split out the individual elements, though this seems clear enough.
Landed in: https://github.com/mozilla/b2gpopulate/commit/9907ab26455f385d06fbba0726e882d4658ce8ed I agree that it would be good to make the code a little more expressive, so let's take care of that in bug 1020985.