LFCS Exam: Device File Name for Second Partition on SCSI Drive

Device File Name for Second Partition on SCSI Drive

Question

Which of the following is the device file name for the second partition on the only SCSI drive?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

B

The device file names in Linux are used to refer to specific hardware devices, including hard drives and partitions. In this question, we are looking for the device file name for the second partition on the only SCSI drive.

Here are the explanations for the given options:

A. /dev/hda1 This device file name refers to the first partition on the first IDE (Integrated Drive Electronics) hard disk. It is not relevant to the question.

B. /dev/sda2 This device file name refers to the second partition on the first SCSI (Small Computer System Interface) drive. The "s" in "sda" stands for SCSI, while the "a" indicates the first device. The number "2" at the end refers to the second partition on that drive, which is what we are looking for. Therefore, this is the correct answer.

C. /dev/sd0a2 This device file name is not valid. There is no "0a" notation in the SCSI device file naming convention.

D. /dev/sd1p2 This device file name refers to the second partition on the second SCSI drive. The "s" in "sd1" stands for SCSI, while the "1" indicates the second device. The "p2" at the end stands for partition 2 on that device. However, we are looking for the second partition on the only SCSI drive, so this is not the correct answer.

Therefore, the correct answer is B. /dev/sda2.