Well done Douglas

Derek Broughton news at pointerstop.ca
Tue Sep 2 18:56:21 UTC 2008


Knapp wrote:

> $ 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?
> 
> 
I'm not sure which "two" you mean are the same.  The dvd and cdrom links are
to your _players_, the *rw links are to your _recorders_ - and of course
for most people they're all the same physical device.  But the device names
ending in "1" are _not_ the same as the others - one has an IDE path and
the other has a SCSI path.  I'll give you the same advice as phoenix -
rename your 70-persistent-cd.rules to something not ending in .rules,
reboot, and see if it's generated a new, correct, one.  If not, just rename
the old one back.
-- 
derek





More information about the kubuntu-users mailing list