Lines Matching defs:boot
88 struct partition *boot;
186 * The bootstrap can be well over 8k, and must go into a BOOT
187 * partition. Read NetBSD label to locate BOOT partition.
206 for (boot = label->d_partitions; ; boot++) {
208 warnx("No BOOT partition");
211 if (boot->p_fstype == FS_BOOT)
214 boot_size = be32toh(boot->p_size) * (uint64_t)secsize;
215 boot_offset = be32toh(boot->p_offset) * (uint64_t)secsize;
218 * We put the entire LIF file into the BOOT partition even when
225 warn("BOOT partition too small (%llu < %llu)",
275 * No need to write bootstrap to BOOT partition.
282 /* Write bootstrap to BOOT partition (or at EOF in IB_APPEND case) */
291 warn("Writing boot filesystem of `%s'",
294 warnx("Writing boot filesystem of `%s': short write",