nerdexam
GIAC

GCIA · Question #101

Which of the following is used to detect the bad sectors in a hard disk under Linux environment?

The correct answer is A. Badblocks. The 'badblocks' command is the standard Linux utility for scanning a disk device for bad sectors. The other options are Windows-specific tools.

Network Forensics, Protocol Insecurity & Evasion Techniques

Question

Which of the following is used to detect the bad sectors in a hard disk under Linux environment?

Options

  • ABadblocks
  • BCheckDisk
  • CScanDisk
  • DCHKDSK

How the community answered

(21 responses)
  • A
    81% (17)
  • B
    5% (1)
  • C
    5% (1)
  • D
    10% (2)

Why each option

The 'badblocks' command is the standard Linux utility for scanning a disk device for bad sectors. The other options are Windows-specific tools.

ABadblocksCorrect

Badblocks is a dedicated Linux command-line utility that reads every block on a specified device and reports any sectors that cannot be read or written correctly. It operates directly on block devices (e.g., /dev/sda) and is commonly used before formatting or to diagnose failing drives in Linux environments.

BCheckDisk

CheckDisk (chkdsk with a GUI label) is a Windows utility and does not exist as a native Linux command.

CScanDisk

ScanDisk is a legacy Windows 9x/Me graphical disk-checking tool and has no Linux equivalent.

DCHKDSK

CHKDSK is a Windows command-line file system checking utility and is not available in Linux environments.

Concept tested: Linux bad sector detection with badblocks

Source: https://man7.org/linux/man-pages/man8/badblocks.8.html

Topics

#badblocks#Linux forensics#disk analysis#storage utilities

Community Discussion

No community discussion yet for this question.

Full GCIA Practice