From: Seewer Philippe <philippe.seewer-omB+W0Dpw2o@public.gmane.org>
To: "<initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>"
<initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: [PATCH 0/2] dracut, udev and complicated netboot cases
Date: Sat, 14 Mar 2009 13:52:55 +0100 [thread overview]
Message-ID: <49BBA8A7.4010903@bfh.ch> (raw)
Hello all
The following two patches add udev driven network configuration support
and a basic nfsroot handler.
As describe earlier, there can be many weird and complicated netboot
cases. The requirement that it should be udev driven doesn't make it any
easier. At least at first glance.
The current solution actually makes use of udev for speed up. The idea
is based on Victor Lowther's first implementation which forked off
dhclients after the udev event fired. By modifying ifup and the
dhclient-script we can synchronize back by using a simple (blocking)
FIFO. Interfaces which are ready are upped and tested FIFO-style by
reading one out of the fifo, and handing over the the actual
mount-script. If it succeeds, all is well. If it fails or times out, we
try (or wait for) the next interface.
The whole interface configuration part tries to behave as much like the
current implementation inside the kernel as possible, with a few
extensions:
- I'm assuming that if there's a network driver inside the initrd the
user wants something. So no ip= option is treated like ip=dhcp
- Instead of only relying on the first interface that pops up or the one
that first receives a dhcp reply we try all interfaces that have a
useable configuration.
Patches apply on top of Harald Hoyers merge tree
(git://git.surfsite.org/pub/git/dracut.git)
Regards,
Philippe
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next reply other threads:[~2009-03-14 12:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-14 12:52 Seewer Philippe [this message]
[not found] ` <49BBA8A7.4010903-omB+W0Dpw2o@public.gmane.org>
2009-03-14 16:15 ` [PATCH 0/2] dracut, udev and complicated netboot cases Victor Lowther
[not found] ` <1237047349.14649.252.camel-76q0VzFBGGr21HsLBtNmTckMGDeJXHgy@public.gmane.org>
2009-03-14 16:32 ` Seewer Philippe
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=49BBA8A7.4010903@bfh.ch \
--to=philippe.seewer-omb+w0dpw2o@public.gmane.org \
--cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.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