nerdexam
GIAC

GCFA · Question #79

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 block devices and identifying unreadable or damaged sectors.

Advanced Mac & Linux Forensics

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

(42 responses)
  • A
    83% (35)
  • B
    2% (1)
  • C
    5% (2)
  • D
    10% (4)

Why each option

The badblocks command is the standard Linux utility for scanning block devices and identifying unreadable or damaged sectors.

ABadblocksCorrect

Badblocks is a Linux command-line tool that reads every block on a specified device (e.g., /dev/sda) to identify sectors that cannot be reliably read or written, and its output can be passed to e2fsck to permanently mark those blocks as unusable in the file system.

BCheckDisk

CheckDisk is a Windows graphical disk checking feature and does not exist as a utility in Linux environments.

CScanDisk

ScanDisk is a legacy disk repair tool from MS-DOS and early Windows versions and has no equivalent in Linux.

DCHKDSK

CHKDSK is a Windows command-line tool that checks and repairs NTFS or FAT file system errors and is not available in Linux environments.

Concept tested: Linux bad sector detection with badblocks utility

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

Topics

#badblocks#bad sector detection#Linux disk tools#disk forensics

Community Discussion

No community discussion yet for this question.

Full GCFA Practice