9097029885 / roottools

Automatically exported from code.google.com/p/roottools
0 stars 0 forks source link

getMountedAs() returns wrong resulst #47

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. $ adb shell mount | grep /system -> ... /system ext4 rw...
2. RootTools.getMountedAs("/system") -> ro

reason:
"/system" contains (as you implemented it) "/" and as well "/sys" (both ro)

as I don't know how to contribute at googlecode (i don't think its even 
possible?!) :) I attach my fix/solution/workaround/whatever here, in hopes it 
helps somebody
worked for the cases I tested so far...

Original issue reported on code.google.com by ft2...@gmail.com on 16 Aug 2013 at 4:10

Attachments:

GoogleCodeExporter commented 8 years ago
What version of android did you test this on?

Original comment by Stericso...@gmail.com on 16 Aug 2013 at 4:46

GoogleCodeExporter commented 8 years ago
cm10.2, Android 4.3
Writing from phone, sorry 
If you need more info, I am back online 

Original comment by ft2...@gmail.com on 17 Aug 2013 at 1:29

GoogleCodeExporter commented 8 years ago
This has been address and will be available in the next release. In the 
meantime here is a compiled version with your fix included.

Original comment by Stericso...@gmail.com on 18 Aug 2013 at 7:01

Attachments: