wodim命令用于查看Linux上挂载的光驱个数。
实例
[root@localhost mail]# wodim --devices #显示光驱数
wodim: Overview of accessible drives (2 found) :
-------------------------------------------------------------------------
0 dev='/dev/scd0' rwrw-- : 'NECVMWar' 'VMware IDE CDR10'
1 dev='/dev/scd1' rwrw-- : 'VMware,' 'Virtual CD-ROM'
-------------------------------------------------------------------------