Lines Matching refs:boot
39 static void displayInfosector(Stream_t *Stream, struct bootsector *boot)
62 struct bootsector *boot = (struct bootsector *) boot0;
102 if(! (Stream = find_device(drive, O_RDONLY, &dev, boot,
133 printf("banner:\"%8s\"\n", boot->banner);
135 printf("cluster size: %d sectors\n", boot->clsiz);
136 printf("reserved (boot) sectors: %d\n", WORD(nrsvsect));
137 printf("fats: %d\n", boot->nfat);
141 printf("media descriptor byte: 0x%x\n", boot->descr);
149 labelBlock = &boot->ext.old.labelBlock;
151 labelBlock = &boot->ext.fat32.labelBlock;
180 printf("backup boot sector=%d\n",
182 displayInfosector(Stream,boot);
200 perror("read boot sector");