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)
450 _("while beginning bad block list iteration"));
473 fputs(_("Checking for bad blocks in read-only mode\n"), stderr);
482 fputs(_("Checking for bad blocks (read-only test): "), stderr);
490 fputs(_("Too many bad blocks, aborting test\n"), stderr);
573 fputs(_("Checking for bad blocks in read-write mode\n"),
598 fputs(_("Too many bad blocks, aborting test\n"), stderr);
643 fputs(_("Too many bad blocks, aborting test\n"), stderr);
714 _("while beginning bad block list iteration"));
736 fputs(_("Checking for bad blocks in non-destructive read-write mode\n"), stderr);
742 fputs(_("Checking for bad blocks (non-destructive read-write test)\n"), stderr);
787 fputs(_("Too many bad blocks, aborting test\n"), stderr);
807 /* First block must have been bad. */
856 * that was written; output to the bad block list if
1060 max_bb = parse_uint(optarg, "max bad block count");
1203 _("while creating in-memory bad blocks list"));
1211 com_err (program_name, 0, "input file - bad format");
1218 com_err (program_name, errcode, _("while adding to in-memory bad block list"));
1242 _("Pass completed, %u bad blocks found.\n"),