Lines Matching refs:fdisk
65 #include <sys/dktp/fdisk.h>
183 lblp->fdiskpresent = 0; /* NO MBR fdisk record */
184 lblp->uidx = FDISK_OFFSET; /* NO unix fdisk partition */
188 * read sector 0 of the disk and call fdisk parse
196 * read fdisk sector (device block 0)
220 * read disk block 0 and check for fdisk record
221 * if (fdisk record exists) {
228 * if (fdisk record does not exist OR a Solaris partiton exists) {
249 struct ipart fdisk[FD_NUMPART];
252 /* check to see if valid fdisk record exists */
257 "fdisk signature=%04x MBB_MAGIC=%04x\n",
263 /* fdisk record exists */
266 /* copy fdisk table so it is aligned on 4 byte boundry */
267 fdp = fdisk;
268 bcopy((caddr_t)&(mbp->parts[0]), (caddr_t)fdp, sizeof (fdisk));
285 * XXX/lcl in fdisk.h, num and rel are signed
316 * if there is no MBR (fdisk label)
320 * note: if fdisk does exist, but does not define a Solaris partiton
439 * 1) There is an fdisk partition but no Solaris partition.
444 * 2) There is an fdisk parition and a Solaris partition.
449 * 3) There is no fdisk partition.
451 * with some room for the fdisk partition (I think)