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

A.

/dev/hda1
B.
/dev/sda2
C.
/dev/sd0a2
D.
/dev/sd1p2

题解

Linux 的设备命名方式如下:
  • 软碟:fd0、fd1...
  • SCSI/SATA/USB 硬盘:sda、sdb...
  • IDE 硬盘:hda、hdb...
  • 光驱:sr0、sr1...
  • 打印机:lp0、lp1...
  • 独立磁盘冗余数组(RAID):md0、md1...
  • eMMC:mmcblk0、mmcblk1...
  • NVMe 硬盘:nvme0n1、nvme1n1...

所以答案是选项 B。