| plan 9 kernel history: overview | file list | diff list |
1993/1031/port/devroot.c (diff list | history)
| 1993/0724/sys/src/9/port/devroot.c:33,38 – 1993/1031/sys/src/9/port/devroot.c:33,39 (short | long | prev | next) | ||
| 1990/0227 | ||
| 1993/0724 | static uchar *rootdata[Nfiles]; static int nroot = Qboot - 1; | |
| 1993/1031 | static int recovbusy; | |
| 1993/0724 | ||
| 1993/0501 | typedef struct Recover Recover; struct Recover | |
| 1993/0724/sys/src/9/port/devroot.c:118,125 – 1993/1031/sys/src/9/port/devroot.c:119,129 | ||
| 1993/0501 | default: break; case Qrecover: | |
| 1993/1031 | if(recovbusy) error(Einuse); | |
| 1993/0501 | if(strcmp(up->user, eve) != 0) error(Eperm); | |
| 1993/1031 | recovbusy = 1; | |
| 1993/0501 | break; } | |
| 1993/0724/sys/src/9/port/devroot.c:140,145 – 1993/1031/sys/src/9/port/devroot.c:144,157 | ||
| 1990/0227 | rootclose(Chan *c) { | |
| 1991/1115 | USED(c); | |
| 1993/1031 | switch(c->qid.path) { default: break; case Qrecover: if(c->flag&COPEN) recovbusy = 0; break; } | |
| 1990/0227 | } | |
| 1993/0501 | int | |