Lines Matching full:partition

28  * This file contains functions that operate on partition tables.
33 #include "partition.h"
72 * This routine finds the last usable sector in the partition table.
73 * It skips the BACKUP partition.
113 * partition in the current partition map.
131 * check if there exists a partition table for the disk. in change_partition()
134 err_print("Current Disk has no partition table.\n"); in change_partition()
140 err_print("Invalid partition for EFI label\n"); in change_partition()
146 * Prompt for p_tag and p_flag values for this partition in change_partition()
152 (void) sprintf(msg, "Enter partition id tag"); in change_partition()
157 (void) sprintf(msg, "Enter partition permission flags"); in change_partition()
179 j64 = input(FIO_EFI, "Enter partition size", ':', &ioparam, in change_partition()
201 * Print out the given partition so the user knows what they're in change_partition()
208 * Prompt for p_tag and p_flag values for this partition. in change_partition()
212 (void) sprintf(msg, "Enter partition id tag"); in change_partition()
217 (void) sprintf(msg, "Enter partition permission flags"); in change_partition()
231 * Assuming that the alternate sectors partition (slice) in change_partition()
233 * partition and partition sizes are expressed in multiples in change_partition()
259 /* fill in defaults for the current partition */ in change_partition()
265 j = (uint_t)input(FIO_ECYL, "Enter partition size", ':', &ioparam, in change_partition()
269 * If the current partition has a size of zero change the in change_partition()
289 fmt_print("\nWarning: Partition overlaps boot "); in change_partition()
290 fmt_print("partition. Specify different start cyl.\n"); in change_partition()
294 * Cyl offset for alternates partition was calculated before in change_partition()
297 fmt_print("\nWarning: Partition overlaps alternates "); in change_partition()
298 fmt_print("partition. Specify different start cyl.\n"); in change_partition()
306 * If user has entered a V_BACKUP tag then the partition in change_partition()
316 * V_BACKUP Tag Partition != full disk capacity. in change_partition()
319 fmt_print("\nWarning: Partition with V_BACKUP tag should "); in change_partition()
327 * If the current partition is named, we can't change it. in change_partition()
328 * We create a new current partition map instead. in change_partition()
344 * Install the p_tag and p_flag values for this partition in change_partition()
353 * This routine picks to closest partition table which matches the
356 * of the partition table. If no table exists, a dummy is
371 err_print("No defined partition tables.\n"); in get_partition()
377 * disk type. If found copy it into unmamed partition. in get_partition()
385 * Set current partition and name it. in get_partition()
396 * Set current partition and name it. in get_partition()
406 * This routine creates a new partition map and sets it current. If there
474 * This routine deletes a partition map from the list of maps for
486 err_print("Error: unexpected null partition list.\n"); in delete_partition()
508 * Set all partition vtoc fields to defaults