A system has one hard disk and one CD writer which are both connected to SATA controllers. Which device represents the CD writer?



A. /dev/hdb
B. /dev/sdd
C. /dev/scd1
D. /dev/sr0
E. /dev/sr1

題解

Linux的裝置命名方式如下:

  • 軟碟:fd0、fd1...
  • SCSI/SATA/USB硬碟:sda、sdb...
  • IDE硬碟:hda、hdb...
  • 光碟機:sr0、sr1...
  • 印表機:lp0、lp1...
  • 獨立硬盤冗餘陣列(RAID):md0、md1...
  • eMMC:mmcblk0、mmcblk1...
  • NVMe硬碟:nvme0、nvme1...

所以答案是選項「D」。