public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Ihar 'Philips' Filipau" <filia@softhome.net>
To: Tim Hockin <thockin@hockin.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	fredrik@dolda2000.com, greg@kroah.com
Subject: Re: Why is hotplug a kernel helper?
Date: Thu, 04 Dec 2003 12:17:01 +0100	[thread overview]
Message-ID: <3FCF17AD.50504@softhome.net> (raw)
In-Reply-To: <YVjJ.7Np.9@gated-at.bofh.it>

Tim Hockin wrote:
> On Wed, Dec 03, 2003 at 06:29:12PM -0800, Greg KH wrote:
> 
>>I would suggest reading this post from Linus for a quick summary:
>>	http://marc.theaimsgroup.com/?l=linux-kernel&m=105552804303171
> 
> 
> I don't really see what's so bad about acpid.  The code is dead simple.
> Now, I'm not saying it is better than hotplug, but I really don't see them
> as being too different.
> 
> Sorry to chime in :)

   I have no idea how acpid/cardmgr bloated.
   So will go abstract.

   But this is common observation: event managers tend to be bloated.
   Rationale: "Let's work around this bug here". Very common.

   I'm implementing couple of event daemons right now - I have had hard 
time to protect them and force bugs being fixed in right place (test 
department screams, driver developers are saying this is "just couple 
lines of codes in daemon and tens in driver" - hopefully I do have good 
management, so B.S. aka bullshit is no go here. I'm really lucky).

   So to not to have hard time doing simple things - hotplug just does 
prohibit complicated/stateful processing implicitely.

   But, yeah, sure, any one can work around it - just make event handler 
a simple redirector to event handling daemon ;-)))

   my 0.02 euros.

P.S. take a look at mount... nfs hooks, smbfs hooks... -o handling is 
just mess. All this mess for you can simply say "mount this there".
Nice ;)

-- 
Ihar 'Philips' Filipau  / with best regards from Saarbruecken.
--                                                           _ _ _
  Because the kernel depends on it existing. "init"          |_|*|_|
  literally _is_ special from a kernel standpoint,           |_|_|*|
  because its' the "reaper of zombies" (and, may I add,      |*|*|*|
  that would be a great name for a rock band).
                                 -- Linus Torvalds


       reply	other threads:[~2003-12-04 11:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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 [this message]
2003-12-04 16:38 Why is hotplug a kernel helper? David Brownell
  -- strict thread matches above, loose matches on Subject: below --
2003-12-04  0:04 Fredrik Tolf
2003-12-04  1:13 ` Greg KH
2003-12-04  2:00   ` Fredrik Tolf
2003-12-04  2:29     ` Greg KH
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

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=3FCF17AD.50504@softhome.net \
    --to=filia@softhome.net \
    --cc=fredrik@dolda2000.com \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=thockin@hockin.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