/dev/dvd vs /dev/sr0

Today, I encountered an error I haven’t experienced before when wanting to burn a DVD.

$ growisofs -dry-run  -Z /dev/dvd=Image.iso
:-( "/dev/dvd=Image.iso": unexpected errno:No such file or directory

Since I knew the file was existing, something with the dvd device might be wrong. Investigating the problem yields:

$ cdrecord -checkdrive
Device was not specified. Trying to find an appropriate drive...
Detected CD-R drive: /dev/sr0
Device type    : Removable CD-ROM
Version        : 5
Response Format: 2
Capabilities   :
Vendor_info    : 'HL-DT-ST'
Identification : 'DVDRAM GSA-U20N '
Revision       : 'HX12'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd).
Driver flags   : SWABAUDIO BURNFREE
Supported modes: PACKET SAO

Allright, the disk in the drive is indeed recognized. But guess what: Now you have to access it directly via its node at /dev/sr0, not its alias /dev/dvd anymore!

You can simply change the command to

$ growisofs -dry-run -Z /dev/sr0=Image.iso

or automount the drive via /etc/fstab, where you can specify the path to mount, eg. /dev/dvd

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: