linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: md@Linux.IT (Marco d'Itri)
To: linux-hotplug@vger.kernel.org
Subject: Re: mkdir of /etc/.udev/rules.d/
Date: Wed, 04 Nov 2009 14:28:25 +0000	[thread overview]
Message-ID: <20091104142825.GA24264@bongo.bofh.it> (raw)
In-Reply-To: <20091103152119.GA14319@bongo.bofh.it>

On Nov 04, Kay Sievers <kay.sievers@vrfy.org> 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.
Why create it at all?
(I suspect that this was done to suppress a warning about the missing
directory, but then I'd rather do it properly with a flag...)

-- 
ciao,
Marco

  parent reply	other threads:[~2009-11-04 14:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-03 15:21 mkdir of /etc/.udev/rules.d/ Marco d'Itri
2009-11-04 10:58 ` Kay Sievers
2009-11-04 14:28 ` Marco d'Itri [this message]
2009-11-04 14:44 ` Kay Sievers
2009-11-04 16:09 ` Kay Sievers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091104142825.GA24264@bongo.bofh.it \
    --to=md@linux.it \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).