Hi Adam, On 07/15/2017 03:26 AM, Adam Borowski wrote: > [...] > On arm64, both the Debian and kernel architecture name is "arm64", yet > Python's platform.machine() returns autotoolsey "aarch64". The latter > name is not on btrfs/ioctl.py's list.
Thanks for the report, and thanks for testing. Apparently aarch64 is a newer UTS_MACHINE kernel value for arm64. This is now fixed in the develop branch of python-btrfs. https://github.com/knorrie/python-btrfs/commits/develop "Update ioctl platform.machine handling" The bug report caused me to have another look at the UTS_MACHINE definitions in the linux kernel source, and also simplify a few other names by doing more startswith matching instead of exact matches. I'll probably tag a new release within a few days, since the amount of niceness that's not released yet has been piling up steadily. Hans