On 08/20/2010 11:33 AM, James wrote:
walt<w41ter<at>  gmail.com>  writes:

$ls -l /dev/dvd
lrwxrwxrwx 1 root root 3 2010-08-17 04:46 /dev/dvd ->  sr0

I get: ls: cannot access /dev/dvd: No such file or directory

I forgot an important detail.  Your device drivers have changed, so your
disks will now show up as different devices.  However, your old devices
still appear in /etc/udev/rules.d/70-persistent-cd.rules, and that causes
confusion.  The right way to fix it is to delete that file and let udev
recreate it during the next boot.


I didn't do anything to cause that.  udev took care of it without my help,
and everything Just Worked.

Well, not quite true.  I did change my /etc/fstab, but I'm now using disk
labels in fstab instead of device names.  If you still use device names
you'll need to change /dev/hd* to /dev/sd* in fstab when using the new
disk drivers.

my current fstab looks like this:
/dev/cdrom  /mnt/cdrom  auto noauto,rw,user   0 0

Can you send me a snippet out of your fstab on setting up (2)
dvds on one system?

I don't have any machines with two dvds, but if you delete the file I
mentioned above, you should start to see device names that make sense
the next time you reboot.  Start with that and see what happens.


Disk labels sound cool. Maybe a good doc
explaining these intricacies?

Look at man mount and look for "The device indication" section. For example:

LABEL=root      /        ext3            noatime,nodiratime,defaults     0 1
LABEL=home      /home    ext3            noatime,nodiratime,defaults     0 1

I labeled those two partitions with the names 'root' and 'home' using e2label,
though it might be less confusing if I had used upper case letters instead.
You can pick any label you want, of course.


Reply via email to