From: Mark Knecht <markknecht@gmail.com>
To: Gentoo User <gentoo-user@lists.gentoo.org>
Subject: [gentoo-user] Re: 4 machines - no /dev/cdrom or /dev/dvd anymore
Date: Sat, 5 Jan 2013 12:44:07 -0800 [thread overview]
Message-ID: <CAK2H+ec+5wA0D2vLYMnmnDY29qP+JYFvVCSVfmo0b7Fhnvm74Q@mail.gmail.com> (raw)
In-Reply-To: <CAK2H+eeuq1PdsX6YiALPDR3otE-O-y+mZC0wUzM8NrbwSqdb6w@mail.gmail.com>
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
next prev parent reply other threads:[~2013-01-05 20:46 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-05 19:53 [gentoo-user] 4 machines - no /dev/cdrom or /dev/dvd anymore Mark Knecht
2013-01-05 20:36 ` J. Roeleveld
2013-01-05 20:46 ` Mark Knecht
2013-01-05 20:37 ` Randy Barlow
2013-01-05 20:44 ` Mark Knecht [this message]
2013-01-05 23:00 ` [gentoo-user] " David M. Fellows
2013-01-06 11:19 ` Mick
2013-01-06 15:55 ` Mark Knecht
2013-01-07 1:22 ` Dale
2013-01-07 1:44 ` Mark Knecht
2013-01-07 1:53 ` William Kenworthy
2013-01-07 2:06 ` Mark Knecht
2013-01-07 2:08 ` Dale
2013-01-07 2:29 ` Dale
2013-01-07 4:53 ` Mark Knecht
2013-01-07 7:35 ` Dale
2013-01-07 22:53 ` Mick
2013-01-08 7:09 ` J. Roeleveld
2013-01-08 7:49 ` Mick
2013-01-08 11:53 ` Dale
2013-01-07 15:18 ` Grant Edwards
2013-01-07 17:37 ` Mark Knecht
2013-01-07 23:25 ` Alan McKinnon
2013-01-08 1:05 ` Mark Knecht
2013-01-08 1:15 ` Michael Mol
2013-01-08 6:42 ` Mick
2013-01-08 9:21 ` Alan McKinnon
2013-01-08 20:26 ` Mark Knecht
2013-01-08 21:12 ` Alan McKinnon
2013-01-08 21:31 ` Michael Mol
2013-01-09 3:22 ` Dale
2013-01-11 14:31 ` Mark Knecht
2013-01-11 14:58 ` Dale
2013-01-06 4:01 ` [gentoo-user] " Dale
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAK2H+ec+5wA0D2vLYMnmnDY29qP+JYFvVCSVfmo0b7Fhnvm74Q@mail.gmail.com \
--to=markknecht@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox