How to list all DVD-ROM drives in Linux console ?

How to list all DVD-ROM drives in Linux console ?

Here is the command in Linux console
[adrotate banner=”2″]
[[email protected] dev]# cat /var/log/dmesg | egrep '(CD|DVD)'
hda: HL-DT-STDVD-ROM GDR-T10N, ATAPI CD/DVD-ROM drive
hda: ATAPI 24X DVD-ROM drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20

[[email protected] dev]#
[adrotate banner=”1″]

2 thoughts on “How to list all DVD-ROM drives in Linux console ?”

  1. Anton Shevtsov (@AntonShevtsov)

    [email protected]:/proc$ cat /var/log/dmesg | grep ‘(CD|DVD|BD)’

    …nothing..

    [email protected]:/proc$ wodim –devices
    wodim: Overview of accessible drives (3 found) :
    ————————————————————————-
    0 dev=’/dev/sg1′ rwrwrw : ‘PIONEER’ ‘BD-RW BDR-206′
    1 dev=’/dev/sg2’ rwrwrw : ‘PIONEER’ ‘BD-RW BDR-206′
    2 dev=’/dev/sg4’ rwrwrw : ‘PIONEER’ ‘BD-RW BDR-207’
    ————————————————————————-

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.