Lines Matching refs:bootstrap
71 fprintf(stderr, "\t%s [-nv] disk bootstrap [name]\n", getprogname());
162 do_install(const char *disk, const char *bootstrap, const char *bootname)
173 if ((fd = open(bootstrap, O_RDONLY)) == -1)
174 FATALIO("open %s", bootstrap);
176 FATALIO("fstat %s", bootstrap);
178 FATAL("%s must be a regular file", bootstrap);
183 FATAL("bootstrap program too large (%d bytes)", boot_size);
193 FATALIO("read %s", bootstrap);
195 FATAL("read %s: short read", bootstrap);
216 fprintf(stderr, "writing bootstrap (%d bytes at logical block %d)\n",
219 /* Write bootstrap */
221 FATALIO("open %s", bootstrap);