gettype
pp->p_fstype = (u_char)gettype(cq, fstypenames);
static u_int gettype(char *, const char * const *);
dp->d_type = (u_short)gettype(cq, dktypenames);