Lines Matching defs:disklabel
1 /* $NetBSD: disklabel.c,v 1.10 2015/02/14 13:07:39 tsutsui Exp $ */
37 * @(#)disklabel.c 8.1 (Berkeley) 6/10/93
70 * @(#)disklabel.c 8.1 (Berkeley) 6/10/93
74 * disklabel.c -- operate disklabel for BSD & OMRON
81 #include <sys/disklabel.h>
88 static void display(struct disklabel *);
98 dkcksum(struct disklabel *lp)
112 disklabel(int argc, char *argv[])
115 struct disklabel *bp = (struct disklabel *)&lbl_buff[LABELOFFSET];
128 printf("Subcommand of disklabel\n\n");
130 printf("\tread:\t\tread disklabel from scsi_device\n");
131 printf("\twrite:\t\twrite disklabel to scsi_device\n");
132 printf("\tomron:\t\tshow OMRON disklabel information\n");
133 printf("\tbsd:\t\tshow BSD disklabel information\n");
134 printf("\tcopy:\t\tcopy disklabel information from OMRON"
137 printf("\tset:\t\tchange BSD disklabel information\n");
192 printf("OMRON Disklabel check sum error.\n");
195 printf("OMRON Disklabel not found.\n");
198 memset(bp, 0, sizeof(struct disklabel));
243 /* restump checksum of OMRON disklabel */
289 /* restump checksum of BSD disklabel */
293 /* restump checksum of OMRON disklabel */
333 display(struct disklabel *lp)