From: Hannes Reinecke <hare@suse.de>
To: linux-hotplug@vger.kernel.org
Subject: Passing information from initramfs to real rootfs
Date: Fri, 14 Nov 2003 09:43:33 +0000 [thread overview]
Message-ID: <marc-linux-hotplug-106880306401848@msgid-missing> (raw)
Hi all,
is it possible to get information out of initramfs to be passed to the
real root fs?
Currently initramfs is 'magically' mounted during boot, but vanished
equally magically as soon as the root device is mounted. Is there a way
planned/provided as to how information gathered/generated during the
boot process can be passed to the real root-fs?
I'm thinking especially on udev and friends; udev could handle
hotplug-events during boot-up from initramfs, but the devices generated
cannot be passed to the real root-device, so essentially we have to
re-scan sysfs to find and generate all events which might have been
generated during boot and pass them to udev _again_.
Nothing gained there; we can as well let it be handled entirely during
init as it is done now.
Easiest solution would be to have it moved initrd-style to /initramfs or
somesuch, then we could easily access it und umount it (i.e. free the
memory) as soon as we're done with the processing.
Comments? Enlightenments?
Cheers,
Hannes
--
Dr. Hannes Reinecke hare@suse.de
SuSE Linux AG S390 & zSeries
Deutschherrnstr. 15-19 +49 911 74053 688
90429 Nürnberg http://www.suse.de
-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.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:[~2003-11-14 9:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-14 9:43 Hannes Reinecke [this message]
2003-11-14 9:47 ` Passing information from initramfs to real rootfs Olaf Hering
2003-11-14 17:42 ` Dave Dodge
2003-11-14 18:44 ` Olaf Hering
2003-11-20 0:01 ` Greg KH
2003-11-20 6:41 ` Olaf Hering
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=marc-linux-hotplug-106880306401848@msgid-missing \
--to=hare@suse.de \
--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).