在linux系统中,如果主机有光驱设备,则可以通过查看光驱文件/proc/sys/dev/cdrom/info,查看光驱对应的设备文件
CD-ROM information, Id: cdrom.c 3.20 2003/12/17
drive name: sr0 //设备文件名
drive speed: 24
drive # of slots: 1
Can close tray: 1
Can open tray: 1
Can lock tray: 1
Can change speed: 1
Can select disk: 0
Can read multisession: 1
Can read MCN: 1
Reports media changed: 1
Can play audio: 1
Can write CD-R: 1
Can write CD-RW: 1
Can read DVD: 1
Can write DVD-R: 1
Can write DVD-RAM: 1
Can read MRW: 1
Can write MRW: 1
Can write RAM: 1
阅读(3394) | 评论(0) | 转发(0) |