I want to find out if there is a CD drive on a remote server running Red Hat Linux release 7.3 (Valhalla).
Based on what I can see in fstab, /proc/devices, /proc/ide/ide0/ it seems like there is a CD drive, but is there any way I can verify it?
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.Sign up to join this community
# lshw -C disk
Should give you what you want.
Edit: Already here : How can I find out what hard disks are attached to a linux box