public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Fredrik Tolf <fredrik@dolda2000.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Why is hotplug a kernel helper?
Date: Wed, 3 Dec 2003 18:29:12 -0800	[thread overview]
Message-ID: <20031204022911.GA23761@kroah.com> (raw)
In-Reply-To: <16334.38227.433336.514399@pc7.dolda2000.com>

On Thu, Dec 04, 2003 at 03:00:51AM +0100, Fredrik Tolf wrote:
> Greg KH writes:
>  > On Thu, Dec 04, 2003 at 01:04:44AM +0100, Fredrik Tolf wrote:
>  > > If you don't mind me asking, I would like to know why the kernel calls
>  > > a usermode helper for hotplug events? Wouldn't a chrdev be a better
>  > > solution (especially considering that programs like magicdev could
>  > > listen in to it as well)? 
>  > 
>  > Please see the archives for why this is, it's been argued many times.
> 
> I am sincerely sorry for being a bother, but I have spent several
> hours searching far and wide for information on it, both in the
> archives and generally on the web, without any luck in finding
> anything. If it's not too much to ask, would you be as kind as to
> provide a pointer?

Here was the latest thread where this was brought up:
	http://marc.theaimsgroup.com/?t=105544548100008

I would suggest reading this post from Linus for a quick summary:
	http://marc.theaimsgroup.com/?l=linux-kernel&m=105552804303171

> Btw., Is there any preferred method of announcing hotplug events to
> user interfaces?

Yes there is a standard.  Have you read the docs at
http://linux-hotplug.sf.net/ ?  Also my 2001 OLS paper details the
format the messages should be in, but it's a bit out of date as to the
new values that the 2.6 kernel sends.

What do you want to use the hotplug interface for that it currently does
not do?

Hope this helps,

greg k-h

  reply	other threads:[~2003-12-04  2:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-04  0:04 Why is hotplug a kernel helper? Fredrik Tolf
2003-12-04  1:13 ` Greg KH
2003-12-04  2:00   ` Fredrik Tolf
2003-12-04  2:29     ` Greg KH [this message]
2003-12-04  2:37       ` Tim Hockin
2003-12-04  3:38       ` Fredrik Tolf
2003-12-04  7:41         ` Greg KH
2003-12-04 11:54         ` Joel Becker
     [not found] <YPev.5Y5.33@gated-at.bofh.it>
     [not found] ` <YQkL.81w.41@gated-at.bofh.it>
     [not found]   ` <YR6p.Jy.5@gated-at.bofh.it>
     [not found]     ` <YRzn.1mB.1@gated-at.bofh.it>
     [not found]       ` <YVjJ.7Np.9@gated-at.bofh.it>
2003-12-04 11:17         ` Ihar 'Philips' Filipau
  -- strict thread matches above, loose matches on Subject: below --
2003-12-04 16:38 David Brownell

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=20031204022911.GA23761@kroah.com \
    --to=greg@kroah.com \
    --cc=fredrik@dolda2000.com \
    --cc=linux-kernel@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