Lines Matching defs:WRITE
123 * Disklabel: read and write disklabels.
150 static int Fflag; /* Read/write from file */
151 static int rflag; /* Read/write direct from disk */
154 static int Dflag; /* Delete old labels (use with write) */
155 static int Iflag; /* Read/write direct, but default if absent */
362 * This value is used if we have to write a label to the start of an mbr ptn.
478 WRITE,
606 case 'r': /* Read/write label directly from disk */
615 case 'w': /* Write label based on disktab entry */
616 op = WRITE;
761 case WRITE: /* Create label from /etc/disktab entry & write */
808 /* Write the label directly to the disk */
812 * then write a label to the raw disk.
824 * write enable label sector before write (if necessary),
847 /* Get the kernel to write the label */
857 /* Write the label to the odd sectors of the last track! */
863 warn("read master label to write alternates");
870 warn("alternate label %d write", i/2);
1301 errx(1, "attempting to write after failed read");
1321 err(1, "disklabel write (sector %u) size %d failed",
1323 errx(1, "disklabel write (sector %u) size %d truncated to %d",
2133 { "-w [-BDFMrv] [-f disktab] disk disktype [packid]", "(to write label)" },
2140 { "[-NW] disk", "(to write disable/enable label)" },