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.
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)- A81% (17)
- B5% (1)
- C5% (1)
- D10% (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.
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.
CheckDisk (chkdsk with a GUI label) is a Windows utility and does not exist as a native Linux command.
ScanDisk is a legacy Windows 9x/Me graphical disk-checking tool and has no Linux equivalent.
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
Community Discussion
No community discussion yet for this question.