add getino to util.c