Well done Douglas
Knapp
magick.crow at gmail.com
Tue Sep 2 18:43:51 UTC 2008
$ cat /etc/udev/rules.d/70-persistent-cd.rules
# This file maintains persistent names for CD/DVD reader and writer devices.
# See udev(7) for syntax.
#
# Entries are automatically added by the 75-persistent-cd-generator.rules
# file; however you are also free to add your own entries provided you
# add the ENV{GENERATED}=1 flag to your own rules as well.
# TSSTcorpCDDVDW_SH-S182D (pci-0000:00:04.0-ide-0:0)
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:04.0-ide-0:0",
SYMLINK+="cdrom", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:04.0-ide-0:0",
SYMLINK+="cdrw", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:04.0-ide-0:0",
SYMLINK+="dvd", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:04.0-ide-0:0",
SYMLINK+="dvdrw", ENV{GENERATED}="1"
# CDDVDW_SH-S182D (pci-0000:00:04.0-scsi-0:0:0:0)
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:04.0-scsi-0:0:0:0",
SYMLINK+="cdrom1", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:04.0-scsi-0:0:0:0",
SYMLINK+="cdrw1", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:04.0-scsi-0:0:0:0",
SYMLINK+="dvd1", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:04.0-scsi-0:0:0:0",
SYMLINK+="dvdrw1", ENV{GENERATED}="1"
Now that is odd. I have one CD player and have always had one and it
has NEVER changed! Oh, wait a second those 2 are the same?? IS that
normal?
--
Douglas E Knapp
http://sf-journey-creations.wikispot.org/Front_Page
More information about the kubuntu-users
mailing list