Gentoo Archives: gentoo-dev

From: Samuli Suominen <ssuominen@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Suggestion for getting rid of udev
Date: Thu, 13 Oct 2011 18:35:39
Message-Id: 4E972F51.4060909@gentoo.org
In Reply to: Re: [gentoo-dev] Suggestion for getting rid of udev by Mike Frysinger
1 On 10/13/2011 08:02 PM, Mike Frysinger wrote:
2 > On Thursday 13 October 2011 12:30:06 Arun Raghavan wrote:
3 >> While I've seen a lot of whining about this whole issue, I certainly
4 >> haven't been seen any effort to actually solve the problem within the
5 >> existing framework. For example, if someone cares enough, why not
6 >> write a wrapper script to track down the programs and libraries at
7 >> runtime that actually do use /usr so it's easier to say "these
8 >> packages install rules that need / and /usr on the same partition".
9 >
10 > (1) udev has provided a workaround of sorts for this already: udevadm trigger
11 > --type=failed. this is the udev-postmount init.d script. (2) it's fairly
12 > trivial to locate most (all?) the failing rules with a single grep: grep /usr
13 > -R /lib/udev/rules.d/.
14
15 nitpicking for (2): also /var, since that's used by alsa's udev rules
16 (alsactl stores info there to restore mixers for eg)