Well done Douglas

Silent Ph03nix silentph03nix at gmail.com
Tue Sep 2 19:25:05 UTC 2008


On Tue, Sep 2, 2008 at 1:44 PM, Derek Broughton <news at pointerstop.ca> wrote:
>
> So this is the heart of the problem.  I should have asked for:
>  ls -l /dev/disk/by-path
> too, but I think I know what it would show.
>
> When your system identified your CD/DVDs as IDE, the hardware "path" was
> pci-0000:00:09.0-ide-1:0.  Now that they're being id'd as SCSI, the path is
> pci-0000:00:09.0-scsi-0:0:1:0.  When the new symlinks were generated, it
> didn't delete the old & obsolete rules.
>
> I believe that if you simply
> deleted /etc/udev/rules.d/70-persistent-cd.rules, on the next reboot it
> would be built correctly.  BUT I HAVEN'T TESTED THAT!  So, you might want
> to rename the file (to anything that doesn't end with .rules - or into
> another directory), reboot, and see what you have.  If a new one isn't
> generated, just rename the old one and reboot.
> --
> derek

Ok.  Cool.  So, I renamed my 70-persistent-cd.rules file to .orig and
rebooted.  Here are the results.


ph03nix at server:~$ cat /etc/udev/rules.d/70-persistent-cd.rules
# This file was automatically generated by the /lib/udev/write_cd_rules
# program, probably run by the cd-aliases-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single line
# and set the $GENERATED variable.

# DVDRAM_GSA-H10L (pci-0000:00:09.0-scsi-1:0:0:0)
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:09.0-scsi-1:0:0:0",
SYMLINK+="cdrom", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:09.0-scsi-1:0:0:0",
SYMLINK+="cdrw", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:09.0-scsi-1:0:0:0",
SYMLINK+="dvd", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:09.0-scsi-1:0:0:0",
SYMLINK+="dvdrw", ENV{GENERATED}="1"
# DVD1240E (pci-0000:00:09.0-scsi-0:0:1:0)
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:09.0-scsi-0:0:1:0",
SYMLINK+="cdrom1", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:09.0-scsi-0:0:1:0",
SYMLINK+="dvd1", ENV{GENERATED}="1"

ph03nix at server:~$ ls -l /dev/cdrom*
lrwxrwxrwx 1 root root 4 2008-09-02 14:18 /dev/cdrom -> scd1
lrwxrwxrwx 1 root root 4 2008-09-02 14:18 /dev/cdrom1 -> scd0

ph03nix at server:~$ ls -l /dev/dvd*
lrwxrwxrwx 1 root root 4 2008-09-02 14:18 /dev/dvd -> scd1
lrwxrwxrwx 1 root root 4 2008-09-02 14:18 /dev/dvd1 -> scd0
lrwxrwxrwx 1 root root 4 2008-09-02 14:18 /dev/dvdrw -> scd1

So, that appears to have worked well.  This box is a holdover from
feisty, I think.  I've just upgraded it every time since it's my
server and I hate trying to get my mail set back up.

-- 
Ph03nix
Fran Lebowitz  - "Life is something to do when you can't get to sleep."




More information about the kubuntu-users mailing list