Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] udev-197 and /etc/udev/rules.d/
Date: Tue, 22 Jan 2013 14:24:14
Message-Id: 20130122142357.38ae57bb@digimed.co.uk
In Reply to: [gentoo-user] udev-197 and /etc/udev/rules.d/ by "»Q«"
1 On Mon, 21 Jan 2013 21:56:00 -0600, »Q« wrote:
2
3 > Here's /etc/udev/rules.d/12-opticaldrive.rules, just one line:
4 >
5 > KERNEL=="sr0", SUBSYSTEM=="block", NAME="opticaldrive", SYMLINK+="%k",
6 > SYMLINK+="cdrom", SYMLINK+="cdrw", SYMLINK+="dvd", SYMLINK+="dvdrom",
7 > SYMLINK+="dvdrw"
8
9 ISTR a change in udev that prevented renaming devices. Put it all as
10 symlinks instead of renaming and trying to symlink back to %k. It seems
11 that all the replies with working examples do it this way too.
12
13
14 --
15 Neil Bothwick
16
17 Not one shred of evidence supports the notion that life is serious.

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] udev-197 and /etc/udev/rules.d/ Marc Joliet <marcec@×××.de>