How to disable the optical drive so that it does not automount
Issue
- Need to disable the cdrom so users cannot mount it and also so it does not auto mount.
Environment
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.