From: Greg KH <greg@kroah.com>
To: sting sting <zstingx@hotmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: hotplug and /etc/init.d/hotplug
Date: Tue, 14 Oct 2003 14:22:15 -0700 [thread overview]
Message-ID: <20031014212215.GB17310@kroah.com> (raw)
In-Reply-To: <Sea2-F47xegIqunLOyD000050c7@hotmail.com>
On Tue, Oct 14, 2003 at 01:53:46PM +0200, sting sting wrote:
> Hello,
> I am running RedHat 9 with 2.4.20-8 kernel ;
> Now , I have a questo about hotplug:
> I have hotplug-2002_04_01-17 installed (rpm);
>
> Now , I read the readme of this rpm ;
> in their "installing" section , clause 5 , it says:
> # cp etc/rc.d/init.d/hotplug /etc/rc.d/init.d/hotplug
> # cd /etc/rc.d/init.d
> # chkconfig --add hotplug
That is because Red Hat does not ship the /etc/init.d/hotplug script.
Take it up with them if you want them to change this.
> I checked on my machine and there is no "hotplug" file in that folder.
> Nevertheless, hotplugin works (because when I plug a USB camera
> I can see in the kernel log (/var/log/messages) messages which start with
> /etc/hotplug/usb.agent
>
> I also looked at the kernel code (method "call_polcy" in usb.c )
> and it doesn't seems to me that the hotplug in /etc/init.d is needed .
needed for what? For devices being plugged in and removed, no. But to
start up the usb subsystems, or shut them down, yes. Or you can do it
in the rc.sysinit script, which is what Red Hat does.
Hope this helps,
greg k-h
next prev parent reply other threads:[~2003-10-14 21:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-14 11:53 hotplug and /etc/init.d/hotplug sting sting
2003-10-14 14:32 ` David Jez
2003-10-14 21:22 ` Greg KH [this message]
2003-10-15 21:08 ` dacin
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=20031014212215.GB17310@kroah.com \
--to=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=zstingx@hotmail.com \
/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