Closed Bug 1020985 Opened 11 years ago Closed 6 years ago

[mozdevice] Provide a dictionary of volumes with their mount points

Categories

(Testing :: Mozbase, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: davehunt, Assigned: gbrown)

Details

As discussed in bug 1020216 it might be a good idea to provide a mapping of volume names to mount points from mozdevice.
There are two parts to this. The first is parsing the output of |vdc volume list| into a dictionary, such as in the following code: > vlist = self.shellCheckOutput(['vdc', 'volume', 'list']) > volumes = dict([v.split()[2:4] for v in vlist.splitlines()[:-1]]) The second part is to parse the /system/etc/volume.cfg file to augment this dictionary. According to :dhylands we should in fact parse the volume.cfg first and allow the results of |vdc volume list| to take precedent if there are collisions.
OS: Mac OS X → Gonk (Firefox OS)
Hardware: x86 → ARM
See also bug 1021823 which changed how we parse the results of |vdc volume list| dependent on the version of Android.
Since we've gone this long without needing it...
Assignee: nobody → gbrown
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.