XK0-004 · Question #44
Which of the following is the device file name for the second partition on the only SCSI drive?
The correct answer is B. /dev/sda2. Linux names SCSI and SATA drives using the /dev/sd* convention where the first drive is sda, and partitions are numbered sequentially starting at 1.
Question
Which of the following is the device file name for the second partition on the only SCSI drive?
Options
- A/dev/hda1
- B/dev/sda2
- C/dev/sd0a2
- D/dev/sd1p2
How the community answered
(36 responses)- A3% (1)
- B89% (32)
- C3% (1)
- D6% (2)
Why each option
Linux names SCSI and SATA drives using the /dev/sd* convention where the first drive is sda, and partitions are numbered sequentially starting at 1.
/dev/hda1 uses the legacy IDE/PATA naming prefix hd, which applies to parallel ATA drives, not SCSI drives, and the partition number 1 denotes the first partition, not the second.
The only SCSI drive in the system is assigned the identifier sda (first SCSI device), and the second partition on that drive is represented as /dev/sda2, following the standard Linux SCSI device naming scheme.
/dev/sd0a2 is not a valid Linux device naming convention - Linux does not use a numeric index directly after sd for drive identification.
/dev/sd1p2 is not a valid Linux device path - Linux does not append a p separator between the drive letter and partition number for SCSI devices (that notation is used for devices like /dev/mmcblk0p2).
Concept tested: Linux SCSI disk device file naming convention
Source: https://www.kernel.org/doc/html/latest/admin-guide/devices.html
Topics
Community Discussion
No community discussion yet for this question.