Home | History | Annotate | Download | only in setnetbootinfo

Lines Matching defs:netboot

51 char	*netboot, *outfile, *addr, *host;
110 netboot = argv[optind];
142 size_t len = strlen(netboot) + 14;
147 "%s.%02x%02x%02x%02x%02x%02x", netboot,
157 printf("netboot: %s\n", netboot);
163 printf("output netboot: %s\n", outfilename);
168 printf("opening %s...\n", netboot);
169 if ((fd = open(netboot, O_RDONLY, 0)) == -1)
170 err(1, "open: %s", netboot);
172 err(1, "fstat: %s", netboot);
174 errx(1, "%s must be a regular file", netboot);
177 printf("reading %s...\n", netboot);
181 (unsigned long)sb.st_size, netboot);
184 (unsigned long)sb.st_size, netboot);
187 printf("closing %s...\n", netboot);
202 errx(1, "netboot information structure not found in %s",
203 netboot);