Lines Matching defs:boot
101 * Read information about /boot's inode and filesystem parameters, then
102 * put biosboot (partition boot record) on the target drive with these
111 stage2 = "/usr/mdec/boot";
113 bootldr = "/boot";
119 /* Load prototype boot blocks. */
190 /* Write boot blocks to device. */
228 warnx("%s extends beyond sector %u. OpenBSD might not boot.",
235 err(1, "pread boot sector");
508 fprintf(stderr, "%s boot record (%cBR) at sector %u\n",
516 err(4, "can't pread boot record");
523 errx(1, "invalid boot record signature (0x%04X) @ sector %u",
697 * Load the prototype boot sector (biosboot) into memory.
743 * the boot block starting at the end of the exec header.
767 * Read information about /boot's inode, then put this and filesystem
771 getbootparams(char *boot, int devfd, struct disklabel *dl)
787 * Open 2nd-level boot program and record enough details about
794 /* Make sure the (probably new) boot file is on disk. */
797 if ((fd = open(boot, O_RDONLY)) == -1)
798 err(1, "open: %s", boot);
801 err(1, "statfs: %s", boot);
805 errx(1, "%s: not on an FFS filesystem", boot);
809 errx(1, "read: %s", boot);
813 boot,
820 err(1, "fsync: %s", boot);
823 err(1, "fstat: %s", boot);
877 * (the partition boot record, a.k.a. the PBR).
905 boot, ndb, fs->fs_bsize);