|
|
1.1 root 1: #include <stdio.h>
2: #include "scsi.h"
3: #include "juke.h"
4:
5: int nlun = 1;
6:
7: void
8: setnlun(void)
9: {
10: char buf[512];
11:
12: for(nlun = 0; nlun < NLUN; nlun++){
13: sprintf(buf, "/dev/worm%d", nlun);
14: if(access(buf, 0) < 0)
15: return;
16: }
17: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.