Exam LFCS All QuestionsBrowse all questions from this exam
Question 94

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

    Correct Answer: B

    In the Linux naming convention, SCSI drives are labeled as 'sdx' where 'x' signifies the order of the drive (a for the first drive, b for the second, etc). For partitions, numbers are appended to the drive name. The first partition is labeled with 1, the second with 2, and so on. Therefore, the device file name for the second partition on the only SCSI drive is /dev/sda2. Other options such as /dev/hda1 refer to IDE drives and /dev/sd0a2 or /dev/sd1p2 do not follow the proper SCSI naming convention.

Discussion
StribOption: B

The correct answer is B. The device file name for the second partition on the only SCSI drive is /dev/sda2. In the Linux naming convention for SCSI drives, the device file name for the first SCSI drive is /dev/sda, the second SCSI drive is /dev/sdb, and so on. The partitions on a SCSI drive are numbered sequentially starting from 1. Therefore, /dev/sda2 represents the second partition on the first SCSI drive.

Strib

Let's go through the other options for clarification: A. /dev/hda1: This device file name follows the naming convention for IDE or ATA drives, not SCSI drives. C. /dev/sd0a2: This device file name suggests a partition within a partition (sd0a) on the first SCSI drive, which is not a common naming convention. D. /dev/sd1p2: This device file name suggests the second partition (p2) on the second SCSI drive (sd1), which is different from the given scenario of the only SCSI drive. Therefore, the correct answer is B. The device file name for the second partition on the only SCSI drive is /dev/sda2

rhylos

correct