From: Kay Sievers Date: Wed, 04 Nov 2009 10:58:37 +0000 Subject: Re: mkdir of /etc/.udev/rules.d/ Message-Id: List-Id: References: <20091103152119.GA14319@bongo.bofh.it> In-Reply-To: <20091103152119.GA14319@bongo.bofh.it> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Tue, Nov 3, 2009 at 16:21, Marco d'Itri wrote: > udev_rules_new() in udev/udev-rules.c unconditionally creates the > directory. > This is a problem because the function is called also by e.g. udevadm > test, and creating /dev/.udev/ when it does not exist is an unacceptable > side effect which will break everything else that checks for its > existence to know if udev is running. > Why is this needed? No specific reason, I remember. It could move into the daemon, before the inotify watch. Thanks, Kay