Gentoo Archives: gentoo-user

From: "»Q«" <boxcars@×××.net>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: udev-197 and /etc/udev/rules.d/
Date: Wed, 23 Jan 2013 02:29:45
Message-Id: 20130122202920.47216203@fuchsia.remarqs.net
In Reply to: Re: [gentoo-user] udev-197 and /etc/udev/rules.d/ by Marc Joliet
1 On Tue, 22 Jan 2013 18:51:59 +0100
2 Marc Joliet <marcec@×××.de> wrote:
3
4 > Am Tue, 22 Jan 2013 14:23:57 +0000
5 > schrieb Neil Bothwick <neil@××××××××××.uk>:
6 >
7 > > ISTR a change in udev that prevented renaming devices. Put it all as
8 > > symlinks instead of renaming and trying to symlink back to %k. It
9 > > seems that all the replies with working examples do it this way too.
10
11 That works, thanks.
12
13 [snip]
14
15 > So currently you can only change network interface names, and nothing
16 > else.
17 >
18 > [0] I haven't searched extensively, but found a related Email from
19 > Greg K-H (search for "rename") that points out that device node
20 > renaming has problematic/fragile behaviour:
21 > http://lkml.indiana.edu/hypermail/linux/kernel/1010.1/00427.html.
22 >
23 > [1]
24 > https://www.kernel.org/doc/htmldocs/device-drivers/API-device-rename.html
25 > (documentation generated from linux-3.0-rc7). Relevant quote: "Device
26 > nodes are not renamed at all, there isn't even support for that in
27 > the kernel now."
28
29 Thanks for the discussion (snipped) and the links. Something Greg K-H
30 said about kernel names reminded me that I've been meaning to stop
31 using them in fstab as well.
32
33 I've been a Gentoo user for twelve years, and I've learned a lot --
34 including some bad habits, heh.