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 72A471385F7 for ; Tue, 22 Jan 2013 14:24:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2419921C0A8; Tue, 22 Jan 2013 14:24:01 +0000 (UTC) Received: from mail.digimed.co.uk (82-69-83-178.dsl.in-addr.zen.co.uk [82.69.83.178]) by pigeon.gentoo.org (Postfix) with ESMTP id 5F3F021C001 for ; Tue, 22 Jan 2013 14:23:59 +0000 (UTC) Received: from digimed.co.uk (yooden.digimed.co.uk [192.168.1.6]) by mail.digimed.co.uk (Postfix) with ESMTPSA id 68B7A80044 for ; Tue, 22 Jan 2013 14:23:58 +0000 (GMT) Date: Tue, 22 Jan 2013 14:23:57 +0000 From: Neil Bothwick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] udev-197 and /etc/udev/rules.d/ Message-ID: <20130122142357.38ae57bb@digimed.co.uk> In-Reply-To: <20130121215600.068d49ff@fuchsia.remarqs.net> References: <20130121215600.068d49ff@fuchsia.remarqs.net> Organization: Digital Media Production X-Mailer: Claws Mail 3.9.0cvs57 (GTK+ 2.24.14; x86_64-pc-linux-gnu) X-GPG-Fingerprint: 7260 0F33 97EC 2F1E 7667 FE37 BA6E 1A97 4375 1903 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: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/1ZVlS3Bs6g6huq59XEyg4FL"; protocol="application/pgp-signature" X-Archives-Salt: aa6d632c-c038-4c0c-b8e8-65fd3b9f2551 X-Archives-Hash: 6c280e33397f2d9585a69ca42caecd6a --Sig_/1ZVlS3Bs6g6huq59XEyg4FL Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Mon, 21 Jan 2013 21:56:00 -0600, =BBQ=AB wrote: > Here's /etc/udev/rules.d/12-opticaldrive.rules, just one line: >=20 > KERNEL=3D=3D"sr0", SUBSYSTEM=3D=3D"block", NAME=3D"opticaldrive", SYMLINK= +=3D"%k", > SYMLINK+=3D"cdrom", SYMLINK+=3D"cdrw", SYMLINK+=3D"dvd", SYMLINK+=3D"dvdr= om", > SYMLINK+=3D"dvdrw" ISTR a change in udev that prevented renaming devices. Put it all as symlinks instead of renaming and trying to symlink back to %k. It seems that all the replies with working examples do it this way too. --=20 Neil Bothwick Not one shred of evidence supports the notion that life is serious. --Sig_/1ZVlS3Bs6g6huq59XEyg4FL Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlD+oP0ACgkQum4al0N1GQO87ACfbUBt+vb1d9CyZzo132DTirms lYUAn2zxfloZnQNEgUb5OjHmhZNTPeTy =XhmQ -----END PGP SIGNATURE----- --Sig_/1ZVlS3Bs6g6huq59XEyg4FL--