ptable_getpart
rc = ptable_getpart(od->table, &part, partition);
rc = ptable_getpart(od->table, &part, slice);
rc = ptable_getpart(table, &part, partition);
int ptable_getpart(const struct ptable *table, struct ptable_entry *part,