printf("devopen:");
if (debug) printf("devopen:");
devopen(struct open_file *f, const char *fname, char **file){	struct devsw *dp = devsw;	register int i, rc = 1;	*file = (char *)fname;#ifdef DEBUG	printf("devopen:");#endif	for (i = 0; i < ndevs && rc != 0; dp++, i++) {#ifdef DEBUG		printf(" %s", dp->dv_name);#endif		if ((rc = (*dp->dv_open)(f, file)) == 0) {			f->f_dev = dp;			return 0;		}#ifdef DEBUG		else			printf(":%d", rc);#endif				}#ifdef DEBUG	putchar('\n');#endif	if ((f->f_flags & F_NODEV) == 0)		f->f_dev = dp;	return rc;}