It is then followed by a lower-case letter starting from a for the first discovered device ( vda), b for the second discovered device ( vdb), and so on. The name of drives attached to a virtio block device (virtio-blk) interface start with vd. /dev/cdrom - a symbolic link to /dev/sr0./dev/sr4 - optical disc drive 4, the fifth discovered optical disc drive./dev/sr0 - optical disc drive 0, the first discovered optical disc drive.The name will always be cdrom regardless of the drive's supported disc types or the inserted media. Udev also provides /dev/cdrom that is a symbolic link to /dev/sr0. sr0 for the first discovered device, sr1 for the second discovered device, and so on. The name is then followed by a number starting from 0 for the device, ie.
The name of optical disc drives (ODDs), that are attached using one of the interfaces supported by the SCSI driver subsystem, start with sr. /dev/mmcblk4 - device 4, the fifth discovered device./dev/mmcblk0 - device 0, the first discovered device.mmcblk0 for first discovered device, mmcblk1 for second discovered device and so on. It is then followed by a number starting from 0 for the device, i.e. SD cards, MMC cards and eMMC storage devices are handled by the kernel's mmc driver and name of those devices start with mmcblk. Reason: Mention /dev/mmcblk Xboot, mmcblk0rpmb) /dev/nvme2n5 - device 5 on controller 2, the fifth discovered device on the third discovered controller./dev/nvme0n1 - device 1 on controller 0, the first discovered device on the first discovered controller.nvme0n1 for first discovered device on first discovered controller, nvme0n2 for second discovered device on first discovered controller, and so on. Next is the letter "n" and a number starting from 1 expressing the device on a controller, i.e. It is then followed by a number starting from 0 for the device controller, nvme0 for the first discovered NVMe controller, nvme1 for the second, and so on. The name of storage devices, like SSDs, that are attached via NVM Express (NVMe) starts with nvme. /dev/sde - device e, the fifth discovered device./dev/sda - device a, the first discovered device.It is then followed by a lower-case letter starting from a for the first discovered device ( sda), b for the second discovered device ( sdb), and so on. The name of these devices starts with sd. Storage devices, like hard disks, SSDs and flash drives, that support the SCSI command ( SCSI, SAS, UASP), ATA ( PATA, SATA) or USB mass storage connection are handled by the kernel's SCSI driver subsystem. Warning: Kernel name descriptors for block devices are not persistent and can change each boot, they should not be used in configuration files.