* [gentoo-user] Re: 4 machines - no /dev/cdrom or /dev/dvd anymore
@ 2013-01-05 20:44 99% ` Mark Knecht
0 siblings, 0 replies; 1+ results
From: Mark Knecht @ 2013-01-05 20:44 UTC (permalink / raw
To: Gentoo User
On Sat, Jan 5, 2013 at 11:53 AM, Mark Knecht <markknecht@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.
Cheers,
Mark
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2013-01-05 19:53 [gentoo-user] 4 machines - no /dev/cdrom or /dev/dvd anymore Mark Knecht
2013-01-05 20:44 99% ` [gentoo-user] " Mark Knecht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox