Lines Matching refs:disk
1 /* fdisk.c - fdisk program to modify partitions on disk.
223 static void read_geometry(struct hd_geometry *disk)
228 disk->heads = geometry.heads;
229 disk->sectors = geometry.sectors;
347 struct hd_geometry disk;
372 disk.heads = disk.sectors = 0;
373 read_geometry(&disk); //CHS values
378 g_sectors = (FLAG(S) && TT.sectors) ? TT.sectors : s ? s : disk.sectors ? disk.sectors : 63;
379 g_heads = (FLAG(H) && TT.heads) ? TT.heads : h ? h : disk.heads ? disk.heads : 255;
384 xprintf("\nThe number of cylinders for this disk is set to %lu.\n"
496 if (check_order()) xprintf("\nPartition table entries are not in disk order");
1304 "w\twrite table to disk and exit\n"
1321 "w\twrite table to disk and exit\n");
1345 xprintf("\nThe number of cylinders for this disk is set to %lu.\n"