Home | History | Annotate | Download | only in misc

Lines Matching refs:bad

2  * badblocks.c		- Bad blocks checker
23 * 94/02/27 - Made a separate bad blocks checker
27 * blocks known to be bad, multiple passes to
78 static unsigned int max_bb = 0; /* Abort test if more than this number of bad blocks has been encountered */
136 * This routine reports a new bad block. If the bad block has already
139 static int bb_output (blk_t bad)
143 if (ext2fs_badblocks_list_test(bb_list, bad))
146 fprintf(out, "%lu\n", (unsigned long) bad);
149 errcode = ext2fs_badblocks_list_add (bb_list, bad);
151 com_err (program_name, errcode, "adding to in-memory bad block list");
159 if (bb_iter && bad < next_bad)
447 _("while beginning bad block list iteration"));
470 fputs(_("Checking for bad blocks in read-only mode\n"), stderr);
479 fputs(_("Checking for bad blocks (read-only test): "), stderr);
487 fputs(_("Too many bad blocks, aborting test\n"), stderr);
570 fputs(_("Checking for bad blocks in read-write mode\n"),
595 fputs(_("Too many bad blocks, aborting test\n"), stderr);
640 fputs(_("Too many bad blocks, aborting test\n"), stderr);
711 _("while beginning bad block list iteration"));
733 fputs(_("Checking for bad blocks in non-destructive read-write mode\n"), stderr);
739 fputs(_("Checking for bad blocks (non-destructive read-write test)\n"), stderr);
784 fputs(_("Too many bad blocks, aborting test\n"), stderr);
804 /* First block must have been bad. */
853 * that was written; output to the bad block list if
1057 max_bb = parse_uint(optarg, "max bad block count");
1200 _("while creating in-memory bad blocks list"));
1208 com_err (program_name, 0, "input file - bad format");
1215 com_err (program_name, errcode, _("while adding to in-memory bad block list"));
1239 _("Pass completed, %u bad blocks found.\n"),