Lines Matching defs:n

158 static char Usage[] = "Usage: fdisk\n"
159 "[ -A id:act:bhead:bsect:bcyl:ehead:esect:ecyl:rsect:numsect ]\n"
160 "[ -b masterboot ]\n"
161 "[ -D id:act:bhead:bsect:bcyl:ehead:esect:ecyl:rsect:numsect ]\n"
162 "[ -F fdisk_file ] [ -h ] [ -o offset ] [ -P fill_patt ] [ -s size ]\n"
163 "[ -S geom_file ] [ [ -v ] -W { creat_fdisk_file | - } ]\n"
164 "[ -w | r | d | n | I | B | E | g | G | R | t | T ] rdevice";
166 static char Usage1[] = " Partition options:\n"
167 " -A id:act:bhead:bsect:bcyl:ehead:esect:ecyl:rsect:numsect\n"
168 " Create a partition with specific attributes:\n"
169 " id = system id number (fdisk.h) for the partition type\n"
170 " act = active partition flag (0 is off and 128 is on)\n"
171 " bhead = beginning head for start of partition\n"
172 " bsect = beginning sector for start of partition\n"
173 " bcyl = beginning cylinder for start of partition\n"
174 " ehead = ending head for end of partition\n"
175 " esect = ending sector for end of partition\n"
176 " ecyl = ending cylinder for end of partition\n"
177 " rsect = sector number from start of disk for\n"
178 " start of partition\n"
179 " numsect = partition size in sectors\n"
180 " -b master_boot\n"
181 " Use master_boot as the master boot file.\n"
182 " -B Create one Solaris partition that uses the entire disk.\n"
183 " -E Create one EFI partition that uses the entire disk.\n"
184 " -D id:act:bhead:bsect:bcyl:ehead:esect:ecyl:rsect:numsect\n"
185 " Delete a partition. See attribute definitions for -A.\n"
186 " -F fdisk_file\n"
187 " Use fdisk_file to initialize on-line fdisk table.\n"
188 " -I Forego device checks. Generate a file image of what would go\n"
189 " on a disk using the geometry specified with the -S option.\n"
190 " -n Do not run in interactive mode.\n"
191 " -R Open the disk device as read-only.\n"
192 " -t Check and adjust VTOC to be consistent with fdisk table.\n"
193 " VTOC slices exceeding the partition size will be truncated.\n"
194 " -T Check and adjust VTOC to be consistent with fdisk table.\n"
195 " VTOC slices exceeding the partition size will be removed.\n"
196 " -W fdisk_file\n"
197 " Write on-disk table to fdisk_file.\n"
198 " -W - Write on-disk table to standard output.\n"
199 " -v Display virtual geometry. Must be used with the -W option.\n"
200 " Diagnostic options:\n"
201 " -d Activate debug information about progress.\n"
202 " -g Write label geometry to standard output:\n"
203 " PCYL number of physical cylinders\n"
204 " NCYL number of usable cylinders\n"
205 " ACYL number of alternate cylinders\n"
206 " BCYL cylinder offset\n"
207 " NHEADS number of heads\n"
208 " NSECTORS number of sectors per track\n"
209 " SECTSIZ size of a sector in bytes\n"
210 " -G Write physical geometry to standard output (see -g).\n"
211 " -h Issue this verbose help message.\n"
212 " -o offset\n"
213 " Block offset from start of disk (default 0). Ignored if\n"
214 " -P # specified.\n"
215 " -P fill_patt\n"
216 " Fill disk with pattern fill_patt. fill_patt can be decimal or\n"
217 " hexadecimal and is used as number for constant long word\n"
218 " pattern. If fill_patt is \"#\" then pattern of block #\n"
219 " for each block. Pattern is put in each block as long words\n"
220 " and fills each block (see -o and -s).\n"
221 " -r Read from a disk to stdout (see -o and -s).\n"
222 " -s size Number of blocks on which to perform operation (see -o).\n"
223 " -S geom_file\n"
224 " Use geom_file to set the label geometry (see -g).\n"
291 static int io_nifdisk = 0; /* non-interactive partition (-n) */
750 " fdisk_commit_ext_part\n");
839 case 'n':
871 (void) fprintf(stderr, "%s\n", Usage);
872 (void) fprintf(stderr, "%s\n", Usage1);
902 (void) fprintf(stderr, "%s\n", Usage);
904 "\nDetailed help is available with the -h option.\n");
919 "fdisk: Cannot open device %s.\n",
957 "%s: Cannot get virtual disk geometry.\n",
974 "%s: Cannot get physical disk geometry.\n",
988 "%s: Cannot get disk label geometry.\n",
1029 (void) fprintf(stderr, "Physical Geometry:\n");
1031 " cylinders[%d] heads[%d] sectors[%d]\n"
1032 " sector size[%d] blocks[%d] mbytes[%d]\n",
1039 (void) fprintf(stderr, "Virtual (HBA) Geometry:\n");
1041 " cylinders[%d] heads[%d] sectors[%d]\n"
1042 " sector size[%d] blocks[%d] mbytes[%d]\n",
1057 "%s: Cannot get disk label geometry.\n",
1070 (void) printf("* Label geometry for device %s\n", Dfltdev);
1073 " SECSIZ\n");
1074 (void) printf(" %-8d %-8d %-8d %-8d %-5d %-5d %-6d\n",
1086 "%s: Cannot get physical disk geometry.\n",
1090 (void) printf("* Physical geometry for device %s\n", Dfltdev);
1093 " SECSIZ\n");
1094 (void) printf(" %-8d %-8d %-8d %-8d %-5d %-5d %-6d\n",
1133 " (%d bytes).\n",
1198 " geometry for this device\n");
1203 " geometry for this device\n");
1208 " geometry for this device\n");
1212 perror("Failed to initialise libfdisk.\n");
1239 " partition for the disk is:\n\n"
1241 "partition\n\n"
1243 "partition, otherwise type \"n\" to "
1244 "edit the\n partition table.\n");
1249 " be limited to 2 TB.\n");
1278 "Error creating EFI partition\n");
1288 (void) fprintf(stderr, "Partition Table Entry Values:\n");
1291 (void) fprintf(stderr, "\n");
1292 (void) fprintf(stderr, "Press Enter to continue.\n");
1331 (void) fprintf(stderr, "fdisk: Cannot open file %s.\n",
1338 if (line[0] == '\0' || line[0] == '\n' || line[0] == '*')
1351 "Syntax error:\n \"%s\".\n",
1362 "fdisk: Cannot set label geometry.\n");
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");
1421 (void) fprintf(stderr, "Press Enter to continue.\n");
1460 " table\n");
1501 (void) fprintf(stderr, "Clearing EFI labels\n");
1507 " (probably no EFI labels exist)\n",
1515 "fdisk: Error in ioctl DKIOCSMBOOT on %s.\n",
1524 "fdisk: Error seeking to master boot record on %s.\n",
1530 "fdisk: Error writing master boot record to %s.\n",
1566 "fdisk: Cannot open master boot file %s.\n",
1575 "fdisk: Cannot read master boot file %s.\n",
1583 "fdisk: Invalid master boot file %s.\n", io_mboot);
1585 "Bad magic number: is %x, but should be %x.\n",
1638 (void) fprintf(stderr, "fdisk: Error seeking on %s.\n",
1643 (void) fprintf(stderr, "fdisk: Error writing %s.\n",
1663 (void) fprintf(stderr, "fdisk: Error seeking on %s.\n",
1668 (void) fprintf(stderr, "fdisk: Error reading %s.\n",
1679 " characters written.\n",
1710 " %d characters read) on input file.\n",
1729 (void) fprintf(stderr, "fdisk: Error seeking on %s.\n",
1734 (void) fprintf(stderr, "fdisk: Error writing %s.\n",
1795 "fdisk: Cannot open prototype partition file %s.\n",
1813 " already exists\n");
1815 " entry \"%s\".\n", line);
1853 " partitions found in input\n");
1854 (void) fprintf(stderr, "Exiting...\n");
1906 "%d.\n", MAX_EXT_PARTS);
1912 "Invalid partition ID\n");
1914 " entry \"%s\".\n", line);
1925 "partition\n");
1933 " entry \"%s\".\n", line);
1945 "fdisk: Error on entry \"%s\".\n",
2001 "fdisk: Error on entry \"%s\".\n",
2010 "fdisk: Cannot create partition table\n");
2023 "fdisk: Syntax error \"%s\"\n", file);
2078 "fdisk: Entry does not match any existing partition:\n"
2079 " \"%s\"\n",
2090 "fdisk: Syntax error \"%s\"\n", file);
2097 "fdisk: New partition cannot start at sector 0:\n"
2098 " \"%s\".\n",
2113 " 1 (input rsect = %d)\n", rsect);
2123 "(input numsect: %u - max: %llu)\n",
2130 "entire disk\n"
2131 "(input numsect: %u - avail: %llu)\n",
2140 (void) printf("Invalid partition ID\n");
2147 "Extended partition already exists.\n");
2150 "inserted:\n \"%s\"\n", file);
2183 "exceeds limit of %d.\n", MAX_EXT_PARTS);
2184 (void) printf("Failing further additions.\n");
2190 "fdisk: Partition size cannot be zero:\n"
2191 " \"%s\".\n",
2205 "inserted:\n \"%s\"\n", file);
2215 "fdisk: Invalid entry could not be inserted:\n"
2216 " \"%s\"\n",
2224 "fdisk: Cannot create partition \"%s\"\n", file);
2302 "fdisk: Partition table exceeds the size of the disk.\n");
2314 (void) fprintf(stderr, "fdisk: Partition table is full.\n");
2440 "for EFI_PMBR partition:\n"
2442 "(should be 1)\n",
2458 "maximum 2 TB.\n "
2460 "actual %llu\n",
2466 "disk.\n numsect %u - "
2467 "actual %llu\n",
2496 "allowed\n");
2503 "%d:%d:%d:%d:%d\n"
2507 "%d:%d:%d:%d:%d\n",
2539 " following partition\n");
2580 if (line[0] == '\0' || line[0] == '\n' || line[0] == '*')
2592 tok = strtok(buf, ": \t\n");
2596 (void) printf("Invalid input %s in line %s.\n",
2604 (void) printf("Invalid input %s in line %s.\n", tok,
2608 tok = strtok(NULL, ": \t\n");
2613 (void) fprintf(stderr, "Syntax error:\n \"%s\".\n", line);
2636 "New partition cannot start at sector 0\n");
2641 (void) fprintf(stderr, "Invalid partition ID\n");
2666 ((s[1] == '\0') || (s[1] == '\n')))) {
2669 ((s[1] == '\0') || (s[1] == '\n')))) {
2709 " found\n");
2711 "continue\n");
2813 "The partition table is full!\n"
2815 " a new one.\n");
2838 " another partition.\n");
2841 " a new one.\n");
2857 "Select the partition type to create:\n"
2858 " 1=SOLARIS2 2=UNIX 3=PCIXOS 4=Other\n"
2859 " 5=DOS12 6=DOS16 7=DOSEXT 8=DOSBIG\n"
2860 " 9=DOS16LBA A=x86 Boot B=Diagnostic C=FAT32\n"
2864 if ((s[1] != '\0') && (s[1] != '\n')) {
2897 "Extended partition already exists\n");
2899 "Press enter to continue\n");
2935 "Extended partition already exists\n");
2937 "Press enter to continue\n");
2961 "Upper limit is 2 TB for non-EFI partition ID\n");
2973 "yes, it will be activated\n"
2974 "each time the computer is reset or turned on.\n"
2975 "Please type \"y\" or \"n\". ");
3022 "fdisk: Cannot create EFI partition table; \n"
3023 "current partition table is invalid.\n");
3028 "disk. You may manually delete existing\n"
3029 "partitions, or fdisk can do it.\n"
3031 "partitions?\n"
3032 "Please type \"y\" or \"n\". ");
3047 (void) printf("Error creating EFI partition!!!\n");
3120 "Specify the percentage of disk to use for this partition\n"
3126 while ((s[i] != '\0') && (s[i] != '\n')) {
3145 " between 1 and 100;\nretry the operation.\n");
3152 " between 1 and 100;\nretry the operation.\n");
3164 int n;
3165 n = MAXDOS * 100 / (int)(cyl_size) / Numcyl_usable;
3169 n <= 100 ? n : 100);
3224 "Maximum percentage available is %lld\n",
3233 "fdisk: Partition table is full.\n");
3256 "New partition cannot start at cylinder 0.\n");
3265 "the maximum is %d.\n",
3343 (void) printf("fdisk: Cannot create partition table\n");
3361 "SELECT ONE OF THE FOLLOWING:\n"
3362 " 1. Create a partition\n"
3363 " 2. Specify the active partition\n"
3364 " 3. Delete a partition\n"
3365 " 4. Change between Solaris and Solaris2 Partition IDs\n"
3366 " 5. Edit/View extended partitions\n"
3367 " 6. Exit (update disk configuration and exit)\n"
3368 " 7. Cancel (exit without updating disk configuration)\n");
3371 "SELECT ONE OF THE FOLLOWING:\n"
3372 " 1. Create a partition\n"
3373 " 2. Specify the active partition\n"
3374 " 3. Delete a partition\n"
3375 " 4. Change between Solaris and Solaris2 Partition IDs\n"
3376 " 5. Exit (update disk configuration and exit)\n"
3377 " 6. Cancel (exit without updating disk configuration)\n");
3400 if (((s[1] != '\0') && (s[1] != '\n')) ||
3405 " between 0 and 4.\n");
3436 "cannot be made active.\n");
3450 " from this\n", i + 1);
3473 if (*p != '\n' || i < 0 || i > FD_NUMPART) {
3476 "Invalid response, retry the operation.\n");
3527 if (((s[1] != '\0') && (s[1] != '\n')) ||
3530 (void) printf("Invalid response, retry the operation.\n");
3548 " extended partition\n");
3550 " (type \"y\" or \"n\") ");
3561 "try committing the changes again.\n");
3562 (void) printf("Press enter to continue.\n");
3571 " This will make all files and \n", i + 1);
3573 " \"y\" or \"n\"). ");
3638 if (s[slen - 1] == '\n')
3667 " missing!\n");
3668 (void) printf("\theads = %d, sectors = %d\n", heads, sectors);
3674 (void) printf(" Total disk size is %d cylinders\n", Numcyl);
3675 (void) printf(" Cylinder size is %d (%d byte) blocks\n\n",
3678 " Cylinders\n");
3681 " %%\n");
3839 "\n %d %s %-12.12s %4d %4d %4d"
3855 "Upper limit is 2 TB for non-EFI partition ID\n");
3871 " NUMSECT\n");
3886 (void) fprintf(stderr, "%-10u\n", LE_32(Table[i].numsect));
4083 "fdisk: Cannot open output file %s.\n",
4094 (void) fprintf(fp, "\n* %s default fdisk table\n", Dfltdev);
4095 (void) fprintf(fp, "* Dimensions:\n");
4096 (void) fprintf(fp, "* %4d bytes/sector\n", sectsiz);
4097 (void) fprintf(fp, "* %4d sectors/track\n", sectors);
4098 (void) fprintf(fp, "* %4d tracks/cylinder\n", heads);
4099 (void) fprintf(fp, "* %4d cylinders\n", Numcyl);
4100 (void) fprintf(fp, "*\n");
4103 (void) fprintf(fp, "* HBA Dimensions:\n");
4104 (void) fprintf(fp, "* %4d bytes/sector\n", sectsiz);
4105 (void) fprintf(fp, "* %4d sectors/track\n", hba_sectors);
4106 (void) fprintf(fp, "* %4d tracks/cylinder\n", hba_heads);
4107 (void) fprintf(fp, "* %4d cylinders\n", hba_Numcyl);
4108 (void) fprintf(fp, "*\n");
4110 (void) fprintf(fp, "* systid:\n");
4111 (void) fprintf(fp, "* 1: DOSOS12\n");
4112 (void) fprintf(fp, "* 2: PCIXOS\n");
4113 (void) fprintf(fp, "* 4: DOSOS16\n");
4114 (void) fprintf(fp, "* 5: EXTDOS\n");
4115 (void) fprintf(fp, "* 6: DOSBIG\n");
4116 (void) fprintf(fp, "* 7: FDISK_IFS\n");
4117 (void) fprintf(fp, "* 8: FDISK_AIXBOOT\n");
4118 (void) fprintf(fp, "* 9: FDISK_AIXDATA\n");
4119 (void) fprintf(fp, "* 10: FDISK_0S2BOOT\n");
4120 (void) fprintf(fp, "* 11: FDISK_WINDOWS\n");
4121 (void) fprintf(fp, "* 12: FDISK_EXT_WIN\n");
4122 (void) fprintf(fp, "* 14: FDISK_FAT95\n");
4123 (void) fprintf(fp, "* 15: FDISK_EXTLBA\n");
4124 (void) fprintf(fp, "* 18: DIAGPART\n");
4125 (void) fprintf(fp, "* 65: FDISK_LINUX\n");
4126 (void) fprintf(fp, "* 82: FDISK_CPM\n");
4127 (void) fprintf(fp, "* 86: DOSDATA\n");
4128 (void) fprintf(fp, "* 98: OTHEROS\n");
4129 (void) fprintf(fp, "* 99: UNIXOS\n");
4130 (void) fprintf(fp, "* 100: FDISK_NOVELL2\n");
4131 (void) fprintf(fp, "* 101: FDISK_NOVELL3\n");
4132 (void) fprintf(fp, "* 119: FDISK_QNX4\n");
4133 (void) fprintf(fp, "* 120: FDISK_QNX42\n");
4134 (void) fprintf(fp, "* 121: FDISK_QNX43\n");
4135 (void) fprintf(fp, "* 130: SUNIXOS\n");
4136 (void) fprintf(fp, "* 131: FDISK_LINUXNAT\n");
4137 (void) fprintf(fp, "* 134: FDISK_NTFSVOL1\n");
4138 (void) fprintf(fp, "* 135: FDISK_NTFSVOL2\n");
4139 (void) fprintf(fp, "* 165: FDISK_BSD\n");
4140 (void) fprintf(fp, "* 167: FDISK_NEXTSTEP\n");
4141 (void) fprintf(fp, "* 183: FDISK_BSDIFS\n");
4142 (void) fprintf(fp, "* 184: FDISK_BSDISWAP\n");
4143 (void) fprintf(fp, "* 190: X86BOOT\n");
4144 (void) fprintf(fp, "* 191: SUNIXOS2\n");
4145 (void) fprintf(fp, "* 238: EFI_PMBR\n");
4146 (void) fprintf(fp, "* 239: EFI_FS\n");
4147 (void) fprintf(fp, "*\n");
4149 "\n* Id Act Bhead Bsect Bcyl Ehead Esect Ecyl"
4150 " Rsect Numsect\n");
4155 " %-10u\n",
4183 "%-7d %-8u %-8u\n",
4236 " checked.\n");
4258 (void) fprintf(stderr, " adjusted!\n");
4274 (void) fprintf(stderr, " adjusted!\n");
4289 (void) fprintf(stderr, " fixed!\n");
4318 " removed!\n");
4341 " removed!\n");
4358 (void) fprintf(stderr, " adjusted!\n");
4389 if (((s[1] != '\0') && (s[1] != '\n')) ||
4390 ((s[0] != 'y') && (s[0] != 'n'))) {
4392 (void) printf("Please answer with \"y\" or \"n\": ");
4414 (void) fprintf(stderr, "fdisk: Invalid VTOC.\n");
4419 "GPT\n");
4422 (void) fprintf(stderr, "fdisk: Cannot read VTOC.\n");
4442 "fdisk: Invalid entry exists in VTOC.\n");
4446 "GPT\n");
4449 (void) fprintf(stderr, "fdisk: Cannot write VTOC.\n");
4506 "\tClearing primary EFI label at block %lld\n",
4531 "\tClearing backup partition table at block %lld\n",
4537 "block %llu; errno %d\n", efi_vtoc->efi_last_u_lba + 1,
4550 "%lld\n", dk_ioc.dki_lba);
4556 "block %llu; errno %d\n",
4601 "\tClearing primary VTOC at byte %llu (block %llu)\n",
4608 "\tError seeking to primary label at byte %llu\n",
4619 " VTOC!\n", bytes);
4625 "DEBUG: Error seeking to primary label at byte %llu\n",
4631 "DEBUG: Successful lseek() to byte %llu\n",
4645 "DEBUG: Warning: only %d bytes read of label\n",
4651 "DEBUG: Warning: disk_label and read_label differ!!!\n");
4654 "read_label\n");
4672 "%s.\n", (uint64_t)seek_byte, Dfltdev);
4682 " byte %llu (block %llu)\n",
4692 "clear backup VTOC at block %llu!\n", bytes,
4699 "DEBUG: Error seeking to backup label at byte %llu\n",
4706 "DEBUG: Successful lseek() to byte %llu\n",
4714 "DEBUG: Warning: only %d bytes read of backup label\n",
4720 "DEBUG: Warning: disk_label and read_label differ!!!\n");
4724 "read_label\n");
4740 "represents the entire fixed disk.\n" \
4742 "/dev/rdsk/c0t5d0s2 on sparc).\n"
4745 "The device does not appear to include absolute\n" \
4747 "(the normal location for an fdisk table).\n"
4750 "The device does not appear to encompass the entire PHYSICAL disk.\n"
4753 "Unable to find a volume table of contents.\n" \
4754 "Cannot verify the device encompasses the full PHYSICAL disk.\n"
4757 "Unable to get geometry from device.\n" \
4758 "Cannot verify the device encompasses the full PHYSICAL disk.\n"
4761 "Are you sure you want to continue? (y/n) "
4778 (void) fprintf(stderr, "WARNING: Device %s: \n", devname);
4876 "for device node.\n");
4889 "fdisk: Cannot stat device %s.\n",
4898 "fdisk: %s must be a raw device.\n", node);
4912 "logical drives and try committing the changes again.\n");
4947 * Note that fgets also reads the trailing '\n'
4964 (void) printf("\nUnknown Command\n");
4994 " Try resizing the window\n");
4998 (void) printf("List of known partition types : \n");
4999 (void) printf("PartID Partition Type\n");
5000 (void) printf("====== ==============\n");
5002 (void) printf("%-3d %s\n", i, fdisk_part_types[i]);
5054 (void) printf("Invalid partition number\n");
5072 (void) printf("Invalid partition ID\n");
5084 (void) printf("Invalid partition ID\n");
5095 (void) printf("Invalid partition ID\n");
5104 "allowed\n");
5111 "partition is not allowed\n");
5125 (void) printf("\nNo logical drives defined.\n");
5129 (void) printf("\n");
5132 (void) printf("Partition %d deleted\n", pno);
5161 (void) printf("Input too long\n");
5162 (void) printf("Invalid beginning cylinder number\n");
5169 "number\n");
5190 (void) printf("existing partitions\n");
5192 "number\n");
5197 "limits\n");
5199 "number\n");
5234 (void) fprintf(stderr, "Unsupported geometry statistics.\n");
5244 (void) printf(" %u)\n", last_free_cyl);
5268 (void) printf("Invalid partition size\n");
5279 (void) printf("Input too long\n");
5280 (void) printf("Invalid partition size\n");
5294 (void) printf("Invalid partition size\n");
5301 (void) printf("Zero size is invalid\n");
5302 (void) printf("Invalid partition size\n");
5313 (void) printf(" partitions\n");
5314 (void) printf("Invalid partition size\n");
5365 "%d.\n", MAX_EXT_PARTS);
5367 "continue\n");
5372 (void) printf("\n");
5380 "partition\n");
5381 (void) printf("Press enter to continue\n");
5390 (void) printf("New partition with ID %d added\n", partid);
5400 (void) printf("\nNo logical drives defined.\n");
5404 (void) printf("\n");
5409 (void) printf("Partition ID of partition %d changed to %d\n", pno,
5423 (void) printf("\nNo logical drives defined.\n");
5427 (void) printf("\n\n");
5439 (void) printf(" %s\n", namebuff);
5451 (void) printf(" %s\n", namebuff);
5469 (void) fprintf(stderr, "Unsupported geometry statistics.\n");
5474 (void) printf("\nNo logical drives defined.\n");
5478 (void) printf("\n");
5479 (void) printf("Number of cylinders in disk : %u\n",
5481 (void) printf("Beginning cylinder of extended partition : %u\n",
5483 (void) printf("Ending cylinder of extended partition : %u\n",
5485 (void) printf("\n");
5487 "Part ID (Type)\n");
5489 " ==============\n");
5531 "%-3d (%-.28s)\n",
5537 (void) printf("\n");
5543 (void) printf("\n");
5544 (void) printf("a Add a logical drive\n");
5545 (void) printf("d Delete a logical drive\n");
5546 (void) printf("h Print this help menu\n");
5547 (void) printf("i Change the id of the logical drive\n");
5548 (void) printf("p Print the logical drive layout\n");
5549 (void) printf("r Return to the main fdisk menu\n");
5550 (void) printf(" (To commit or cancel the changes)\n");
5551 (void) printf("\n");
5567 "corrupt.\n");
5568 (void) printf("Displaying only sane logical drives.\n");
5573 "boot block signature :\n\n");
5577 (void) printf("\n\n");
5579 "commit\n");
5583 (void) printf("Extended partition menu\n");
5588 (void) printf("\nCommand Options : \n");