Well, I ended up writing some code that the file uses /etc/vold.fstabto get all the external storage. On my TF101 with a dock connected and filled with storage devices, this will correctly return the path to microSD, SD and USB drives.
private ArrayList<String> extStorageLoc(){
String[] toSearch = readFile("/etc/vold.fstab").split(" ");
ArrayList<String> out = new ArrayList<String>();
for(int i = 0; i < toSearch.length; i++){
if(toSearch[i].contains("dev_mount")){
if(new File(toSearch[i+2]).exists()){
out.add(toSearch[i+2]);
}
}
}
return out;
}
source
share