Switch to parted, get rid of unused devices.py functions