From: Andreas Jellinghaus <aj@leogic.com>
To: linux-hotplug@vger.kernel.org
Subject: hotplug in initrd/initramfs?
Date: Wed, 15 Dec 2004 14:37:04 +0000 [thread overview]
Message-ID: <pan.2004.12.15.14.37.04.490554@leogic.com> (raw)
Hi,
as far as I can tell, the kernel doesn't call
/sbin/hotplug while in initrd/initramfs.
root@earth:/initrd# ls -l sbin/hotplug
-rwxr-xr-x 1 root root 126 Dec 15 14:42 sbin/hotplug*
root@earth:/initrd# cat sbin/hotplug
#!/bin/sh
( echo -- hp $$ begin (initrd) --
echo $0: $*
export
echo -- hp $$ end (initrd) -- ) > /dev/console
exit 1
root@earth:/initrd#
works fine in the real /root so I can see every event
happening. but during initrd/initramfs nothing happends.
this is fatal to me, as I need hotplug for usb devices
during that stage.
Anything I can do about it? or if it should work / I have
a bug: any idea how to see what is going wrong?
thanks for your help.
Regards, Andreas
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
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
next reply other threads:[~2004-12-15 14:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-15 14:37 Andreas Jellinghaus [this message]
2004-12-15 22:50 ` hotplug in initrd/initramfs? Dave Dodge
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=pan.2004.12.15.14.37.04.490554@leogic.com \
--to=aj@leogic.com \
--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).