On Saturday 05 Jan 2013 20:44:07 Mark Knecht wrote:
> On Sat, Jan 5, 2013 at 11:53 AM, Mark Knecht <markkne...@gmail.com> wrote:
> > I think I touched on this a couple of weeks ago but never had time to
> > dig in. At that time I thought this problem was only on one machine
> > but now I see it's on every machine I've looked at this morning. Not a
> > single machine has /dev/cdrom anymore, nor /dev/dvd or any of the
> > other incantations that have existed forever.
> 
> <SNIP>
> 
> OK, this is solved using udevadm and changing the
> 70-persistent-cd.rules file to key off a different identifier.
> 
> Old way:
> #SUBSYSTEM=="block", ENV{ID_CDROM}=="?*",
> ENV{ID_PATH}=="pci-0000:00:1f.2-scsi-0:0:0:0", SYMLINK+="cdrom",
> ENV{GENERATED}="1"
> 
> New way:
> SUBSYSTEM=="block", ENV{ID_CDROM}=="?*",
> ENV{ID_MODEL}=="Optiarc_DVD_RW_AD-7241S", SYMLINK+="cdrom",
> ENV{GENERATED}="1"
> 
> c2stable ~ # udevadm info --query=all --name=/dev/sr0
> P:
> /devices/pci0000:00/0000:00:1f.2/ata11/host10/target10:0:0/10:0:0:0/block/
> sr0 N: sr0
> S: scd0
> S: disk/by-id/ata-Optiarc_DVD_RW_AD-7241S
> S: cdrom
> S: cdrw
> S: dvd
> S: dvdrw
> E: UDEV_LOG=3
> E:
> DEVPATH=/devices/pci0000:00/0000:00:1f.2/ata11/host10/target10:0:0/10:0:0:
> 0/block/sr0 E: MAJOR=11
> E: MINOR=0
> E: DEVNAME=/dev/sr0
> E: DEVTYPE=disk
> E: SUBSYSTEM=block
> E: ID_CDROM=1
> E: ID_CDROM_CD=1
> E: ID_CDROM_CD_R=1
> E: ID_CDROM_CD_RW=1
> E: ID_CDROM_DVD=1
> E: ID_CDROM_DVD_R=1
> E: ID_CDROM_DVD_RW=1
> E: ID_CDROM_DVD_RAM=1
> E: ID_CDROM_DVD_PLUS_R=1
> E: ID_CDROM_DVD_PLUS_RW=1
> E: ID_CDROM_DVD_PLUS_R_DL=1
> E: ID_CDROM_MRW=1
> E: ID_CDROM_MRW_W=1
> E: ID_ATA=1
> E: ID_TYPE=cd
> E: ID_BUS=ata
> E: ID_MODEL=Optiarc_DVD_RW_AD-7241S
> E:
> ID_MODEL_ENC=Optiarc\x20DVD\x20RW\x20AD-7241S\x20\x20\x20\x20\x20\x20\x20\
> x20\x20\x20\x20\x20\x20\x20\x20\x20\x20 E: ID_REVISION=1.03
> E: ID_SERIAL=Optiarc_DVD_RW_AD-7241S
> E: ID_ATA_FEATURE_SET_PM=1
> E: ID_ATA_FEATURE_SET_PM_ENABLED=1
> E: ID_ATA_SATA=1
> E: ID_ATA_SATA_SIGNAL_RATE_GEN1=1
> E: GENERATED=1
> E: UDISKS_PRESENTATION_NOPOLICY=0
> E: DEVLINKS=/dev/scd0 /dev/disk/by-id/ata-Optiarc_DVD_RW_AD-7241S
> /dev/cdrom /dev/cdrw /dev/dvd /dev/dvdrw
> E: TAGS=:udev-acl:
> 
> c2stable ~ #
> 
> Maybe this post will save someone else some time.

Thanks Mark, but why do we have to make this file changes ourselves?  Isn't it 
a bug?

PS.  I also have cd & dvd /dev links missing.
-- 
Regards,
Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to