| plan 9 kernel history: overview | file list | diff list |
2003/0303/port/devroot.c (diff list | history)
| 2003/0303/sys/src/9/port/devroot.c:133,138 – 2003/0329/sys/src/9/port/devroot.c:133,145 (short | long | prev | next) | ||
| 2002/1130 | } return devgen(c, name, bootlist.dir, bootlist.ndir, s, dp); default: | |
| 2003/0329 | if(s == DEVDOTDOT){ if((int)c->qid.path < Qboot) devdir(c, (Qid){Qdir, 0, QTDIR}, "#/", 0, eve, 0555, dp); else devdir(c, (Qid){Qboot, 0, QTDIR}, "#/", 0, eve, 0555, dp); return 1; } | |
| 2003/0303 | if(s != 0) return -1; | |
| 2002/1130 | if((int)c->qid.path < Qboot){ | |
| 2003/0303/sys/src/9/port/devroot.c:144,149 – 2003/0329/sys/src/9/port/devroot.c:151,160 | ||
| 2002/1130 | } if(t >= l->ndir) return -1; | |
| 2003/0329 | if(t < 0){ print("rootgen %llud %d %d\n", c->qid.path, s, t); panic("whoops"); } | |
| 2002/1130 | d = &l->dir[t]; devdir(c, d->qid, d->name, d->length, eve, d->perm, dp); return 1; | |