disklabel.py: Define lba2chs() on Disklabel class
This method converts an LBA address to CHS. Different BSD systems do this in different ways: * NetBSD uses LBA-Assisted translation but OpenBSD does not. * For addresses over 8GB where CHS will overflow, OpenBSD will assign a fixed value on all 3 CHS fields when NetBSD will do this only for the cylinders field.
Please register or sign in to comment