Lines Matching defs:label
130 struct disklabel label;
155 * Get label template. If this fails we might have a plain file.
156 * Proceed to print out possible ISO label information, but
157 * don't try to write a label back.
159 res = ioctl(fd, DIOCGDINFO, &label);
184 p = &label.d_partitions[j];
186 p->p_size = label.d_partitions[rawpart].p_size;
193 if (!j) /* no ISO track, let the label alone */
197 /* write back label */
198 if (label.d_npartitions < j)
199 label.d_npartitions = j;
200 strncpy(label.d_packname, "mscdlabel's", 16);
201 label.d_checksum = 0;
202 label.d_checksum = dkcksum(&label);
203 res = ioctl(fd, DIOCSDINFO, &label);