Lines Matching full:partition
27 * This file contains functions to implement the partition menu commands.
32 #include "partition.h"
54 * Modify/Create a predefined partition table.
78 * check if there exists a partition table for the disk. in p_modify()
81 err_print("Current Disk has no partition table.\n"); in p_modify()
112 err_print("Cannot modify disk partition when " in p_modify()
118 * prompt user for a partition table base in p_modify()
122 "\t0. Current partition table (%s)", in p_modify()
126 "\t0. Current partition table (unnamed)"); in p_modify()
148 "different partition table.\n"); in p_modify()
152 * Create partition map from existing map in p_modify()
163 * Make an empty partition map, with all the space in p_modify()
164 * in the c partition. in p_modify()
206 "partition\ntable based on above table", in p_modify()
212 * get Free Hog partition in p_modify()
216 free_hog = G_PARTITION; /* default to g partition */ in p_modify()
218 free_hog = input(FIO_MSTR, "Free Hog partition", '?', in p_modify()
220 /* disallow c partition */ in p_modify()
222 fmt_print("'%c' cannot be the 'Free Hog' partition.\n", in p_modify()
244 * the float partition. in p_modify()
248 "partition.\n"); in p_modify()
259 free_hog = G_PARTITION; /* default to g partition */ in p_modify()
261 free_hog = input(FIO_MSTR, "Free Hog partition", '?', in p_modify()
263 /* disallow c partition */ in p_modify()
265 fmt_print("'%c' cannot be the 'Free Hog' partition.\n", in p_modify()
282 * get user modified partition table in p_modify()
295 if (input(FIO_MSTR, "Okay to make this the current partition table", in p_modify()
301 * Update new partition map in p_modify()
374 * Check partition table
397 err_print("Warning: Partition %c starting cylinder "
404 err_print("Warning: Partition %c, specified # of "
415 err_print("Warning: Overlapping partition "
419 err_print("Warning: Non-contiguous partition "
450 * Get partition sizes
464 "'%s' from Free Hog partition\n",
469 "Enter size of partition '%s' ",
487 fmt_print("Creating Default Partition for the disk \n");
492 * default partition list.
510 * Fill in the partition info from the label
528 * build new partition table for given disk type
543 /* GPT partition 7 is whole disk device, minor node "wd" */
551 (void) sprintf(tmpstr, "Enter size of partition %d ", i);
597 * partition table else copy the old partition table.(best guess).
613 fmt_print("Warning: Partition Table is set");
614 fmt_print("to default partition table. \n");