Home
last modified time | relevance | path

Searched refs:fmt_print (Results 1 – 20 of 20) sorted by relevance

/titanic_41/usr/src/cmd/format/
H A Dmenu_analyze.c192 fmt_print("0x%08x ", in a_print()
194 fmt_print("\n"); in a_print()
350 fmt_print("\n"); in a_setup()
364 fmt_print(" Analyze entire disk? "); in a_config()
365 fmt_print(scan_entire ? "yes\n" : "no\n"); in a_config()
368 fmt_print(" Starting block number: %llu (", scan_lower); in a_config()
369 pr_dblock(fmt_print, scan_lower); in a_config()
370 fmt_print(")\n Ending block number: %llu (", scan_upper); in a_config()
371 pr_dblock(fmt_print, scan_upper); in a_config()
372 fmt_print(")\n"); in a_config()
[all …]
H A Dmenu_partition.c187 fmt_print("The expanded capacity is added to the unallocated space.\n"); in p_expand()
227 fmt_print(" %d. unnamed\n", i++); in p_select()
229 fmt_print(" %d. %s\n", i++, pptr->pinfo_name); in p_select()
244 fmt_print("\n"); in p_select()
327 fmt_print("\n"); in p_select()
373 fmt_print("\n"); in p_name()
397 fmt_print("Volume: "); in p_print()
399 fmt_print("\n"); in p_print()
405 fmt_print("Current partition table (%s):\n", in p_print()
407 fmt_print("Total disk cylinders available: %d + %d " in p_print()
[all …]
H A Dmenu_scsi.c181 fmt_print("\n" in c_scsi()
212 fmt_print("\n\nSCSI MENU:\n"); in c_scsi()
220 fmt_print("scsi> "); in c_scsi()
247 fmt_print("\n\nSCSI MENU:\n"); in c_scsi()
355 fmt_print("\nPage 0x%x:\n", pageno);
392 fmt_print("\n");
417 fmt_print("\n"); in do_mode_sense_all()
515 fmt_print("\n\
518 fmt_print("\n\
521 fmt_print("\n\
[all …]
H A Dmenu_defect.c105 fmt_print("working list set to null.\n\n"); in d_restore()
107 fmt_print("working list updated, total of %d defects.\n\n", in d_restore()
150 fmt_print("Extracting manufacturer's defect list..."); in d_original()
156 fmt_print("Extraction failed.\n\n"); in d_original()
158 fmt_print("Extraction complete.\n"); in d_original()
159 fmt_print("Working list updated, total of %d defects.\n\n", in d_original()
218 fmt_print("Extracting defect list..."); in d_extract()
231 fmt_print("Extraction complete.\n"); in d_extract()
232 fmt_print( in d_extract()
236 fmt_print("Extraction failed.\n\n"); in d_extract()
[all …]
H A Dmenu_command.c167 fmt_print("\n\nAVAILABLE DISK SELECTIONS:\n"); in c_disk()
197 fmt_print("- hit space for more or s to select - "); in c_disk()
199 fmt_print("\015"); in c_disk()
210 fmt_print( in c_disk()
219 fmt_print("%80s\n", " "); in c_disk()
382 fmt_print("\n\nAVAILABLE DRIVE TYPES:\n"); in c_type()
386 fmt_print(" %d. Auto configure\n", first_disk++); in c_type()
404 fmt_print(" %d. %s\n", i++, in c_type()
408 fmt_print(" %d. other\n", i); in c_type()
434 fmt_print("%s: configured with capacity of ", in c_type()
[all …]
H A Dio.c495 fmt_print(promptstr);
504 fmt_print("[%llu, ", *(diskaddr_t *)deflt);
505 pr_dblock(fmt_print, *(diskaddr_t *)deflt);
506 fmt_print("]");
510 fmt_print("[%d]", *deflt);
519 fmt_print("[%llu]", efi_deflt->start_sector);
526 fmt_print("[%s]", *str);
529 fmt_print("[\"%s\"]", (char *)deflt);
543 fmt_print("[%s]", s);
551 fmt_print("[%llub, %uc, %1.2fmb, %1.2fgb]", blokno,
[all …]
H A Danalyze.c238 fmt_print(
255 fmt_print("\n pass %d", pass);
256 fmt_print(" - pattern = 0x%x", data);
258 fmt_print("\n pass %d", pass);
260 fmt_print("\n");
399 fmt_print("\n");
413 fmt_print("\n");
440 fmt_print("Total of %lld defective blocks repaired.\n",
497 fmt_print("Repairing %s error on %llu (",
499 pr_dblock(fmt_print, bn);
[all …]
H A Dlabel.c1096 fmt_print("%s\n", label->dkl_asciilabel);
1098 fmt_print("version: %d\n", label->dkl_vtoc.v_version);
1099 fmt_print("volume: ");
1103 fmt_print("%c", label->dkl_vtoc.v_volume[i]);
1105 fmt_print("\n");
1106 fmt_print("v_nparts: %d\n", label->dkl_vtoc.v_nparts);
1107 fmt_print("v_sanity: %lx\n", label->dkl_vtoc.v_sanity);
1110 fmt_print("rpm: %d\n", label->dkl_rpm);
1111 fmt_print("pcyl: %d\n", label->dkl_pcyl);
1112 fmt_print("apc: %d\n", label->dkl_apc);
[all …]
H A Ddefect.c96 fmt_print("Defect list BAD\n"); in read_list()
98 fmt_print("Controller working list found\n"); in read_list()
106 fmt_print("Defect list BAD\n"); in read_list()
108 fmt_print("MANUFACTURER's list found\n"); in read_list()
112 fmt_print("No defect list found\n"); in read_list()
245 fmt_print("%4d%8d%7d", num, def->cyl, def->head); in pr_defect()
252 fmt_print("%8d", def->bfi); in pr_defect()
254 fmt_print("%8d", def->nbits); in pr_defect()
256 fmt_print(" "); in pr_defect()
257 fmt_print("%8d", def->sect); in pr_defect()
[all …]
H A Dmain.c450 fmt_print("selecting %s: ", cur_disk->disk_name);
452 fmt_print("\n");
454 fmt_print("selecting %s\n", cur_disk->disk_name);
483 fmt_print("[disk formatted");
486 fmt_print(", defect list found");
488 fmt_print(", no defect list found");
491 fmt_print("]");
497 fmt_print("[disk unformatted]");
512 fmt_print(
523 fmt_print("[disk unformatted");
[all …]
H A Dctlr_scsi.c422 fmt_print("invalid protection type\n");
478 fmt_print("Formatting...\n");
528 fmt_print("Format failed\n");
547 fmt_print("\n" in scsi_raw_format()
586 fmt_print("Formatting...\n"); in scsi_raw_format()
800 fmt_print(
1125 fmt_print("PAGE 3: trk skew= %d (%d) cyl skew= %d (%d) ",
1127 fmt_print("sects/trk= %d (%d)\n", page3->sect_track, tmp3);
1128 fmt_print(" trks/zone= %d (%d) alt trks= %d (%d) ",
1131 fmt_print("alt sects/zone= %d (%d)\n",
[all …]
H A Dmodify_partition.c209 fmt_print("\n"); in p_modify()
234 fmt_print("'%c' cannot be the 'Free Hog' partition.\n", in p_modify()
277 fmt_print("'%c' cannot be the 'Free Hog' partition.\n", in p_modify()
286 fmt_print("\n"); in p_modify()
303 fmt_print("\n"); in p_modify()
334 fmt_print("\n"); in p_modify()
507 fmt_print("Creating Default Partition for the disk \n");
599 fmt_print("Warning: No space left for HOG\n");
638 fmt_print("Warning: Partition Table is set");
639 fmt_print("to default partition table. \n");
H A Dmenu.c105 fmt_print(" %s\n", *str);
156 fmt_print("\n\n%s MENU:\n", title);
204 fmt_print("\n\n%s MENU:\n", title);
223 fmt_print("\n\n%s MENU:\n", cur_title);
H A Dpartition.c143 fmt_print("\n"); in change_partition()
204 fmt_print("\n"); in change_partition()
288 fmt_print("\nWarning: Partition overlaps boot "); in change_partition()
289 fmt_print("partition. Specify different start cyl.\n"); in change_partition()
296 fmt_print("\nWarning: Partition overlaps alternates "); in change_partition()
297 fmt_print("partition. Specify different start cyl.\n"); in change_partition()
318 fmt_print("\nWarning: Partition with V_BACKUP tag should "); in change_partition()
319 fmt_print("specify full disk capacity. \n"); in change_partition()
H A Dmenu_cache.c114 fmt_print("Write Cache is enabled\n"); in ca_write_display()
116 fmt_print("Write Cache is disabled\n"); in ca_write_display()
265 fmt_print("Read Cache is disabled\n"); in ca_read_display()
267 fmt_print("Read Cache is enabled\n"); in ca_read_display()
H A Dcheckdev.c797 fmt_print( in checkpartitions()
812 fmt_print( in checkpartitions()
815 fmt_print("\n"); in checkpartitions()
820 fmt_print("- changes; old (%d,%d)->new " in checkpartitions()
H A Dadd_definition.c129 fmt_print("Saving new disk and partition definitions\n"); in add_definition()
131 fmt_print("Saving new disk definition\n"); in add_definition()
134 fmt_print("Saving new partition definition\n"); in add_definition()
H A Dmisc.c221 fmt_print("\n");
258 fmt_print("\n");
312 fmt_print("\n"); in fullabort()
374 fmt_print("Total of %lld defective blocks repaired.\n", in cleanup()
H A Dio.h109 void fmt_print(char *format, ...);
H A Dstartup.c1341 fmt_print("Searching for disks..."); in do_search()
1421 fmt_print("done\n"); in do_search()
1458 fmt_print("\n"); in do_search()
1460 fmt_print("%s: ", disk->disk_name); in do_search()
1462 fmt_print("configured "); in do_search()
1464 fmt_print("configured and labeled "); in do_search()
1473 fmt_print("with capacity of "); in do_search()
1475 fmt_print("%1.2fGB\n", scaled/1024.0); in do_search()
1477 fmt_print("%1.2fMB\n", scaled); in do_search()