Sep 21, 2018

How to find the name of the CD / DVD from command line on Linux

lsblk lists information about all available or the specified block
       devices.  The lsblk command reads the sysfs filesystem and udev db to
       gather information.



$ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 931.5G  0 disk 
├─sda1   8:1    0 915.6G  0 part /
├─sda2   8:2    0     1K  0 part 
└─sda5   8:5    0  15.9G  0 part [SWAP]
sr0     11:0    1   464M  0 rom