Tom Marshall
cfbf436bff
Improve read-only partition logic
...
Not all QCOM devices have a pad partition, so instead use a list of
known firmware partition names.
2015-06-12 09:10:04 -07:00
Tom Marshall
9df07a3ec1
Don't keep copy of backup header
...
The primary and backup headers may be fully reconstructed from each other
(this is the purpose of having a backup header in the first place). So
there is no point in saving a copy of the backup header.
2015-04-18 09:44:57 -07:00
Tom Marshall
58c4e79708
Re-read the partition table before and after write
...
Note we re-read before save to ensure that the block device is not in use.
2015-04-18 09:44:57 -07:00
Tom Marshall
f30f09a42f
Don't hold device open, open and close it for each operation
2015-04-18 09:44:55 -07:00
Tom Marshall
ea8b02d230
Initial checkin
2015-04-13 16:11:50 -07:00