linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kay Sievers <kay.sievers@vrfy.org>
To: linux-hotplug@vger.kernel.org
Subject: Re: [adventure] replace /sbin/hotplug by udevd
Date: Fri, 19 Nov 2004 00:03:54 +0000	[thread overview]
Message-ID: <1100822634.21860.21.camel@localhost.localdomain> (raw)
In-Reply-To: <20041118002726.GA4281@vrfy.org>

On Wed, 2004-11-17 at 21:04 -0700, Kevin P. Fleming wrote:
> Kay Sievers wrote:
> 
> > This experimental patch changes udevd/udev to handle the _whole_ hotplug
> > event from the kernel up to the multiplexing of /etc/hotplug.d/. It
> > should solve most of the current shortcomings of the hotplug event handling:
> >   - sysfs if not fully populated at event time
> >   - at device disconnect/reconnect, the "remove" may beat the "add"
> >   - an event may already work on the same DEVPATH
> >   - the hotplug scripts don't know the device node name
> >   - the total count of event processes can't be controlled
> 
> This is very, very cool. What a major simplification of the whole 
> process, with the addition of interesting new features as well.
> 
> What is the likely timeframe for this to make it into udev proper?

How can I know? :) I started this back in March this year and just give
it a second try now with this much improved version.

We are run into serious trouble with HAL(hal.freedesktop.org) managing
the unordered events from the programs in /etc/hotplug.d and /etc/dev.d/,
to match these two events together by SEQNUM and wait for sysfs to get
populated. This all should be pretty easy now with only one small
hal-notify program in the /etc/hotplug.d directory.

Let's see what other people think about it.

Thanks,
Kay



-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

  parent reply	other threads:[~2004-11-19  0:03 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-18  0:27 [adventure] replace /sbin/hotplug by udevd Kay Sievers
2004-11-18  1:25 ` Greg KH
2004-11-18  4:04 ` Kevin P. Fleming
2004-11-18  6:40 ` Stefan Schweizer
2004-11-18 23:47 ` Kay Sievers
2004-11-19  0:03 ` Kay Sievers [this message]
2004-11-19  0:55 ` Greg KH
2004-11-19  1:11 ` Kay Sievers
2004-11-19  7:27 ` Greg KH
2004-11-19 16:03 ` 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=1100822634.21860.21.camel@localhost.localdomain \
    --to=kay.sievers@vrfy.org \
    --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).