On Tue, Jan 15, 2013 at 10:41 PM, Rick Stevens ricks@alldigital.com wrote:
to the growisofs command. How could one determine that the media was placed at
/dev/sr1
Your CD/DVD drive will appear as /dev/sr[some-number]. Some systems have two drives, so they'll be /dev/sr0 and /dev/sr1. Depending on how your machine was installed, your first drive may be /dev/sr1. I've not sorted out why exactly, but I've seen it.
Usually the udev rules also set up appropriate symlinks in /dev to point at the devices. For example, /dev/cdrom will generally point to the appropriate device:
root@prophead ~]# ls -l /dev/cdrom lrwxrwxrwx 1 root root 3 Jan 15 11:23 /dev/cdrom -> sr0
It should also create a /dev/dvd symlink which will also point at the correct device, but none of my F17 systems seem to set up /dev/dvd* links anymore (boo!).
Also note that if you have two drives, you'll still have some questions as to which drive is what. The system will have /dev/sr0 and /dev/sr1, and quite possibly symlinks like /dev/cdrom (pointed at /dev/sr0) and /dev/cdrom1 (pointed at /dev/sr1).
After installing blank media, you can look at /var/log/messages or the output of dmesg to see which drive saw the new media.
My recommendation is to feed "/dev/cdrom=/path/to/iso/image" to growisofs and see if that'll get you anywhere or stick with brasero to burn your disks.
Yes, it's confusing if you've not dealt with it before.
Thanks, Rick, for your very useful clarification!
Paul