| plan 9 kernel history: overview | file list | diff list |
1995/0117/port/devsd.c (diff list | history)
| 1995/0108/sys/src/9/port/devsd.c:279,288 – 1995/0117/sys/src/9/port/devsd.c:279,288 (short | long | prev | next) | ||
| 1994/0913 | /* * parse partition table. */ | |
| 1995/0117 | n = getfields(b, line, Npart+2, "\n"); | |
| 1994/0913 | if(n > 0 && strncmp(line[0], MAGIC, sizeof(MAGIC)-1) == 0) { for(i = 1; i < n; i++) { | |
| 1995/0117 | switch(getfields(line[i], field, 3, " ")) { | |
| 1994/0913 | case 2: if(strcmp(field[0], "unit") == 0) strncpy(d->vol, field[1], NAMELEN); | |