Open josch opened 3 months ago
Hi, I'd like to contribute a pull request fixing this issue but I'd need to know what the intended behaviour is first. :)
In the absence of any maintainer input, and assuming that the code is correct and the docs are not, I filed #35 to fix the docs.
The documentation states:
Lets try this out:
This happens because instead of looking for a bmap file by taking the basename of the image file and adding the bmap extension, bmaptool first tries the original filename (not its basename) and adds the bmap extension to that.
Where is the error? In the documentation or in the implementation?
It becomes even more confusing if the file has multiple extensions which is common when compressing the disk image. For example, if the image file is called
foo.img.gz
, then bmaptool will look for bmap files in this order:Is this intentional and should the documentation be updated or should the implementation be changed to match the documentation?
Thanks!