| plan 9 kernel history: overview | file list | diff list |
2000/0308/port/devsd.c (diff list | history)
| 2000/0104/sys/src/9/port/devsd.c:350,361 – 2000/0308/sys/src/9/port/devsd.c:350,361 (short | long | prev | next) | ||
| 2000/0104 | */ scsibio(d->t, d->lun, SCSIread, b, 1, d->bsize, d->table[0].end-2); | |
| 1994/0913 | b[d->bsize-1] = '\0'; | |
| 2000/0104 |
| |
| 2000/0308 | n = getfields(b, line, nelem(line), 1, "\n"); | |
| 2000/0104 | if(n <= 0 || strncmp(line[0], MAGIC, sizeof(MAGIC)-1) != 0){ /* try the last */ scsibio(d->t, d->lun, SCSIread, b, 1, d->bsize, d->table[0].end-1); b[d->bsize-1] = '\0'; | |
| 2000/0308 | n = getfields(b, line, nelem(line), 1, "\n"); | |
| 2000/0104 | /* only point partition file at last sector if there is one there */ if(n > 0 && strncmp(line[0], MAGIC, sizeof(MAGIC)-1) == 0){ d->table[1].beg++; | |
| 2000/0104/sys/src/9/port/devsd.c:368,374 – 2000/0308/sys/src/9/port/devsd.c:368,374 | ||
| 1994/0913 | */ if(n > 0 && strncmp(line[0], MAGIC, sizeof(MAGIC)-1) == 0) { for(i = 1; i < n; i++) { | |
| 1997/0327 |
| |
| 2000/0308 | if(getfields(line[i], field, nelem(field), 1, " ") != 3) | |
| 1996/0607 | break; if(p >= &d->table[Npart]) break; | |