Results 1 to 3 of 3

Thread: 2 extra CD/DVD drives appear by magic

  1. #1
    Join Date
    Mar 2010
    Beans
    4

    2 extra CD/DVD drives appear by magic

    I booted up my laptop today after the battery ran dry while I was out of the room. Every thing worked as normal, but when I went into Places-Computer, there was 2 more CD/DVD drives than when I left. Right next to my real one!
    I looked in /media and they were there too, listed as cdrom and cdrom0, but they both open into my Cd drive.
    i tried unmounting them through the terminal but it says there's nothing there, and I looked in fstab and only the actual drives and partitions on my computer were there.

    how do i get rid of them?
    Last edited by white-seraph; March 27th, 2010 at 10:44 PM.

  2. #2
    Join Date
    Oct 2006
    Location
    Milton Keynes, UK
    Beans
    1,141
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: 2 extra CD/DVD drives appear by magic

    Do they disappear if you reboot ??
    Linux Registered User #443947 Ubuntu Regestered User #12604

    Hakunamatata ...... No worries !

  3. #3
    Join Date
    Mar 2010
    Location
    Woonsocket, RI USA
    Beans
    3,195

    Re: 2 extra CD/DVD drives appear by magic

    Chances are the system got confused and thought it hadn't seen the device before and therefore built a new rule for it. You may be able to fix the problem by editing the /etc/udev/rules.d/70-persistent-cd.rules file. You'll see lines like these, although many details will differ:

    Code:
    SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:03:00.0-scsi-0:0:0:0", SYMLINK+="cdrom3", ENV{GENERATED}="1"
    SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:03:00.0-scsi-0:0:0:0", SYMLINK+="cdrw3", ENV{GENERATED}="1"
    SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:03:00.0-scsi-0:0:0:0", SYMLINK+="dvd", ENV{GENERATED}="1"
    SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:03:00.0-scsi-0:0:0:0", SYMLINK+="dvdrw", ENV{GENERATED}="1"
    Back up the original file. Study your rules and then eliminate the duplicates (/dev/cdrom0 and /dev/cdrom1, probably). If the problem recurs, you may need to eliminate the original and one duplicate and rename the device filenames for another duplicate to whatever you want.

    Personally, I hate this "feature" of recent Linux distributions. (Older distributions didn't try to track specific hardware devices; if you swapped one DVD drive for another, the new one would just appear under the old one's name.) I understand its utility for some devices, which might legitimately benefit from such device-specific tracking, but it's caused me more problems than it's solved.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •