What command will search for physical defects on a hard drive and will mark these defects so that they are no longer used?

CORRECT TEXT
What command will search for physical defects on a hard drive and will mark these defects so that
they are no longer used? (Please specify the command with no path information)

CORRECT TEXT
What command will search for physical defects on a hard drive and will mark these defects so that
they are no longer used? (Please specify the command with no path information)

Answer: badblocks

Explanation:

From the man pages:
badblocks – search a device for bad blocks
badblocks [ -svwnf ] [ -b block-size ] [ -c blocks_at_once ] [ -i input_file ] [ -o output_file ] [ -p
num_passes ] [ -t test_pattern ] device [ last-block ] [ start-block ]



Leave a Reply 0

Your email address will not be published. Required fields are marked *