Home
last modified time | relevance | path

Searched refs:Bootsect (Results 1 – 1 of 1) sorted by relevance

/titanic_41/usr/src/cmd/fdisk/
H A Dfdisk.c310 static char *Bootsect; /* pointer to sector zero buffer */ variable
731 dev_mboot_write(0, Bootsect, sectsiz); in update_disk_and_exit()
1129 Bootsect = (char *)calloc(3 * sectsiz, 1); in main()
1130 if (Bootsect == NULL) { in main()
1138 Nullsect = Bootsect + sectsiz; in main()
1168 Bootblk = (struct mboot *)Bootsect; in main()
1383 if ((ioctl(Dev, DKIOCGMBOOT, Bootsect) < 0) && (errno != ENOTTY)) { in dev_mboot_read()
1395 if (read(Dev, Bootsect, sectsiz) != sectsiz) { in dev_mboot_read()
1618 buff_ptr = (int *)Bootsect; in fill_patt()
1629 off_ptr = (off_t *)Bootsect; in fill_patt()
[all …]