Lines Matching defs:table

35  * This program reads the partition table on the specified device and
187 " Use fdisk_file to initialize on-line fdisk table.\n"
192 " -t Check and adjust VTOC to be consistent with fdisk table.\n"
194 " -T Check and adjust VTOC to be consistent with fdisk table.\n"
197 " Write on-disk table to fdisk_file.\n"
198 " -W - Write on-disk table to standard output.\n"
286 /* Partition table flags */
297 static char *io_Afdisk = 0; /* add entry to partition table (-A) */
298 static char *io_Dfdisk = 0; /* delete entry from part. table (-D) */
312 static struct extvtoc disk_vtoc; /* verify VTOC table */
346 /* Load functions for fdisk table modification */
498 "Linux plaintext part table", /* 136 */
686 static void clear_vtoc(int table, int part);
716 * mounted logical drives, changes to the partition table
727 * Copy the new table back to the sector buffer
734 /* If the VTOC table is wrong fix it (truncation only) */
1158 /* Get the new BOOT program in case we write a new fdisk table */
1165 * Verify and copy the device's fdisk table. This will be used
1176 * Read extended partition only when the fdisk table is not
1219 /* Load fdisk table from specified file (-F fdisk_file) */
1221 /* Load and verify user-specified table parameters */
1234 /* Check if there is no fdisk table */
1238 "No fdisk table exists. The default"
1244 "edit the\n partition table.\n");
1252 /* Edit the partition table as directed */
1267 /* calculate CHS values for table entry 0 */
1286 /* Display complete fdisk table entries for debugging purposes */
1308 /* If user wants to write the table to a file, do it */
1390 "fdisk: Error seeking to partition table on %s.\n",
1397 "fdisk: Error reading partition table from %s.\n",
1418 (void) fprintf(stderr, "About to write fdisk table:\n");
1427 * If the new table has any Solaris partitions and the old
1428 * table does not have an entry that describes it
1438 /* Does the old table have an exact entry for the new entry? */
1460 " table\n");
1467 /* see if the old table had EFI */
1747 * Load will either read the fdisk table from a file or add or
1786 * Zero out the table before loading it, which will
1956 * to insert it in the table or do any
1968 * and sectors in partition table fields).
1995 * in table
2010 "fdisk: Cannot create partition table\n");
2027 /* Find the exact entry in the table */
2211 /* Find unused entry for use and put entry in table */
2234 * for a single partition table entry (ti) based on the relsect
2235 * and numsect values contained in the partion table entry.
2286 * Insert entry into fdisk table. Check all user-supplied values
2287 * for the entry, but not the validity relative to other table
2302 "fdisk: Partition table exceeds the size of the disk.\n");
2307 /* find UNUSED partition table entry */
2314 (void) fprintf(stderr, "fdisk: Partition table is full.\n");
2362 * If the specified entry is in the old table and is not a Solaris entry
2363 * then insert same entry into new fdisk table. If we do this then
2390 /* find UNUSED partition table entry */
2495 "table; no more partitions "
2716 /* update disk partition table, if changed */
2723 * If the VTOC table is wrong fix it
2753 /* update disk partition table, if changed */
2759 * If the VTOC table is wrong fix it
2775 * If the VTOC table is wrong fix it
2795 * Create partition entry in the table (interactive mode).
2813 "The partition table is full!\n"
3013 * the table
3015 * First, make sure there were no errors the table is
3022 "fdisk: Cannot create EFI partition table; \n"
3023 "current partition table is invalid.\n");
3041 /* create the table entry - i should be 0 */
3082 * make a local copy of the partition table
3188 /* Not an empty table */
3233 "fdisk: Partition table is full.\n");
3343 (void) printf("fdisk: Cannot create partition table\n");
3508 * Remove partition entry from the table (interactive mode).
3654 * Display the current fdisk table; determine percentage
3844 /* Print warning message if table is empty */
3861 * Write the detailed fdisk table to standard error for
3909 * fdisk table.
3939 bootptr = (char *)iparts; /* Points to start of partition table */
4023 * Copy the table into the boot record. Note that the unused
4024 * entries will always be the last ones in the table and they are
4025 * marked with 100 in sysind. The the unused portion of the table
4047 * Check for any changes in the partition table.
4057 /* Partition table changed, write back to disk */
4067 * Display contents of partition table to standard output or
4092 * Write the fdisk table information
4094 (void) fprintf(fp, "\n* %s default fdisk table\n", Dfltdev);
4206 * Read the VTOC table on the Solaris partition and check that no
4523 * clear the backup partition table
4531 "\tClearing backup partition table at block %lld\n",
4573 clear_vtoc(int table, int part)
4586 if (table == OLD) {
4747 "(the normal location for an fdisk table).\n"
4753 "Unable to find a volume table of contents.\n" \
4918 * Just an index into the partition types table.