From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 779501385E3 for ; Tue, 22 Jan 2013 03:56:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CC447E06AF; Tue, 22 Jan 2013 03:56:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 44F05E0682 for ; Tue, 22 Jan 2013 03:56:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 4E63633DB39 for ; Tue, 22 Jan 2013 03:56:02 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Flag: NO X-Spam-Score: -1.184 X-Spam-Level: X-Spam-Status: No, score=-1.184 tagged_above=-999 required=5.5 tests=[AWL=-1.182, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=no Received: from smtp.gentoo.org ([IPv6:::ffff:127.0.0.1]) by localhost (smtp.gentoo.org [IPv6:::ffff:127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NguqjgCXQRcU for ; Tue, 22 Jan 2013 03:55:52 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4E21933DB1F for ; Tue, 22 Jan 2013 03:55:51 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TxUxv-0004kg-QL for gentoo-user@gentoo.org; Tue, 22 Jan 2013 04:56:03 +0100 Received: from wsip-174-76-82-7.no.no.cox.net ([174.76.82.7]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Jan 2013 04:56:03 +0100 Received: from boxcars by wsip-174-76-82-7.no.no.cox.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Jan 2013 04:56:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: =?UTF-8?B?wrtRwqs=?= Subject: [gentoo-user] udev-197 and /etc/udev/rules.d/ Date: Mon, 21 Jan 2013 21:56:00 -0600 Organization: none Message-ID: <20130121215600.068d49ff@fuchsia.remarqs.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: wsip-174-76-82-7.no.no.cox.net X-Newsreader: Claws Mail 3.9.0 (GTK+ 2.24.12; x86_64-pc-linux-gnu) X-Archives-Salt: 09f4983c-e5e0-4cfa-8c28-187e05abcba0 X-Archives-Hash: 2c852ee03e046f71bba48f0cacb8107f udev-197-r3 gave me this postinstall warning: Upstream has removed the persistent-cd rules generator. If you need persistent names for these devices, place udev rules for them in /etc/udev/rules.d. Well, I have had such a rule for a long time, and it worked ok until I installed udev-197, which seems to be ignoring it. I'm at a loss to see what's wrong. Here's /etc/udev/rules.d/12-opticaldrive.rules, just one line: KERNEL=="sr0", SUBSYSTEM=="block", NAME="opticaldrive", SYMLINK+="%k", SYMLINK+="cdrom", SYMLINK+="cdrw", SYMLINK+="dvd", SYMLINK+="dvdrom", SYMLINK+="dvdrw" And here's the first part of udevadm info for the device: looking at device '/devices/pci0000:00/0000:00:1f.2/ata2/host1/target1:0:0/1:0:0:0/block/sr0': KERNEL=="sr0" SUBSYSTEM=="block" DRIVER=="" ATTR{ro}=="0" ATTR{size}=="4" ATTR{stat}==" 0 0 0 0 0 0 0 0 0 0 0" ATTR{range}=="1" ATTR{discard_alignment}=="0" ATTR{events}=="media_change eject_request" ATTR{ext_range}=="1" ATTR{events_poll_msecs}=="-1" ATTR{alignment_offset}=="0" ATTR{inflight}==" 0 0" ATTR{removable}=="1" ATTR{capability}=="119" ATTR{events_async}==""