XK0-005 · 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. This question tests knowledge of Linux device file naming conventions for storage devices and their partitions.
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
(31 responses)- A3% (1)
- B87% (27)
- C6% (2)
- D3% (1)
Why each option
This question tests knowledge of Linux device file naming conventions for storage devices and their partitions.
`/dev/hda1` refers to the first partition on the first IDE/PATA drive, not a SCSI drive.
In Linux, SCSI (and SATA, USB) drives are typically named `/dev/sdX`, where 'a' denotes the first drive, and partitions are appended with numbers; therefore, `/dev/sda2` represents the second partition on the first SCSI drive.
`/dev/sd0a2` is not a standard Linux device file naming convention for partitions.
`/dev/sd1p2` is not a standard Linux device file naming convention; partitions are usually numbered directly after the disk identifier.
Concept tested: Linux device file naming for partitions
Source: https://www.tldp.org/LDP/sag/html/dev-fs.html
Topics
Community Discussion
No community discussion yet for this question.