010-150 · Question #27
Identify the proper device for the third partition, on the second hard disk, on the first IDE controller on a PC system.
The correct answer is A. /dev/hdb3. On Linux, IDE hard disks follow a naming convention where the second disk on the first controller is hdb, and partition numbers are appended directly, giving /dev/hdb3.
Question
Identify the proper device for the third partition, on the second hard disk, on the first IDE controller on a PC system.
Options
- A/dev/hdb3
- B/dev/hd1b3
- C/dev/hdc1d2p3
- Ddev/hdc1a3
- Edev/hdc1b3
How the community answered
(31 responses)- A77% (24)
- B13% (4)
- C6% (2)
- D3% (1)
Why each option
On Linux, IDE hard disks follow a naming convention where the second disk on the first controller is hdb, and partition numbers are appended directly, giving /dev/hdb3.
Linux names IDE disks sequentially as hda, hdb, hdc, hdd - where hda is the primary master and hdb is the primary slave on the first IDE controller. Partition numbers are appended as a digit with no separator, so the third partition on the second disk (hdb) is /dev/hdb3. The /dev/ prefix is required for a valid absolute device path.
/dev/hd1b3 is not valid Linux device naming syntax; IDE devices use alphabetic suffixes (hda, hdb), not numeric ones (hd1).
/dev/hdc1d2p3 invents a multi-segment notation that does not exist in the Linux device naming scheme.
dev/hdc1a3 is missing the leading slash making it a relative path, and hdc refers to the primary master of the second IDE controller, not the second disk on the first controller.
dev/hdc1b3 is also missing the leading slash and hdc again refers to the second IDE controller's first device, not the second disk on the first controller.
Concept tested: Linux IDE disk and partition device naming
Source: https://www.kernel.org/doc/html/latest/admin-guide/devices.html
Topics
Community Discussion
No community discussion yet for this question.