Lines Matching full:defect

842 	 * There must be a current defect list.  Except for  in c_format()
843 * unformatted SCSI disks. For them the defect list in c_format()
852 err_print("Current Defect List must be initialized.\n"); in c_format()
1113 * Mark the defect list dirty so it will be rewritten when we are in c_format()
1116 * Note: no defect lists for embedded scsi drives. in c_format()
1157 * If the defect list or label is dirty, write them out again. in c_format()
1158 * Note, for SCSI we have to wait til now to load defect list in c_format()
1166 err_print("Warning: unable to reload defect list\n"); in c_format()
1200 * If the defect list or label is dirty, write them out again. in c_format()
1255 err_print("or disk supports automatic defect management.\n"); in c_repair()
1259 * There must be a defect list for non-embedded scsi devices, in c_repair()
1263 err_print("Current Defect List must be initialized.\n"); in c_repair()
1276 "Enter absolute block number of defect", ':', in c_repair()
1333 if (check("Ready to repair defect, continue")) { in c_repair()
1353 * the defect list. in c_repair()
1395 * Add the bad sector to the defect list, write out in c_repair()
1396 * the defect list, and kill off the working list so in c_repair()
1397 * it will get synced up with the current defect list in c_repair()
1400 * For embedded scsi, we don't require a defect list. in c_repair()
1401 * However, if we have one, add the defect if the in c_repair()
1789 * This routine implements the 'defect' command. It simply runs
1790 * the defect menu.
1806 * Check for the defect management and list management ops and in c_defect()
1811 err_print("Controller does not support defect management\n"); in c_defect()
1812 err_print("or disk supports automatic defect management.\n"); in c_defect()
1819 * Lock out interrupt while we manipulate the defect lists. in c_defect()
1839 run_menu(menu_defect, "DEFECT", "defect", 0); in c_defect()
1849 "Warning: working defect list modified; but not committed.\n"); in c_defect()
1851 "Do you wish to commit changes to current defect list")) in c_defect()
1863 * the current defect list is written out if a backup label is found.
2032 * Rewrite the labels and defect lists, as appropriate. in c_backup()
2041 fmt_print("Restoring primary label and defect list.\n"); in c_backup()