nerdexam
CompTIA

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.

System Management

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)
  • A
    3% (1)
  • B
    87% (27)
  • C
    6% (2)
  • D
    3% (1)

Why each option

This question tests knowledge of Linux device file naming conventions for storage devices and their partitions.

A/dev/hda1

`/dev/hda1` refers to the first partition on the first IDE/PATA drive, not a SCSI drive.

B/dev/sda2Correct

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.

C/dev/sd0a2

`/dev/sd0a2` is not a standard Linux device file naming convention for partitions.

D/dev/sd1p2

`/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

#Linux device files#Block devices#Partition naming#SCSI drives

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice