Saturday, December 17, 2011

Missing /dev/cdrom in Xubuntu 11.10

So for some unknown reason the /dev/cdrom symlink to my actual dvd device was missing, causing things like abcde not to work because thats what I had in my config to tell it which drive to use.
This fixes it:

> sudo lshw -C disk
*-disk                  
       description: ATA Disk
       product: ST95005620AS
       vendor: Seagate
       physical id: 0
       bus info: scsi@0:0.0.0
       logical name: /dev/sda
       version: SD23
       serial: 5YX0B265
       size: 465GiB (500GB)
       capabilities: partitioned partitioned:dos
       configuration: ansiversion=5 signature=00074110
  *-cdrom
       description: DVD-RAM writer
       product: DVD+-RW DU-8A3S
       vendor: PLDS
       physical id: 1
       bus info: scsi@1:0.0.0
       logical name: /dev/cdrom
       logical name: /dev/dvd
       logical name: /dev/scd0
       logical name: /dev/sr0
       version: KD12
       capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
       configuration: ansiversion=5 status=open


> ln -s /dev/scd0 /dev/cdrom
> ln -s /dev/scd0 /dev/dvd