From: Warren Togami <wtogami-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: initramfs <initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: How do we want to handle configuring network boot devices?
Date: Wed, 27 May 2009 22:52:59 -0400 [thread overview]
Message-ID: <4A1DFC8B.2060700@redhat.com> (raw)
In-Reply-To: <1243470194.23466.32.camel-1q1vX8mYZiGLUyTwlgNVppKKF0rrzTr+@public.gmane.org>
On 05/27/2009 08:23 PM, David Dillow wrote:
>> Options:
>> 1) Re-implement it entirely in dracut without relying on the kernel
>> implementation. But will it work? The kernel seeing root=/dev/nfs will
>> try to do its own thing anyway?
>> 2) Drop this entirely. If somebody chooses to use this method of nfs
>> boot dracut isn't involved.
>
> Well, yes, Warren. If the kernel has CONFIG_ROOT_NFS set and sees these
> options, I expect the initrd will not be used. But I don't think any
> distro that dracut would support has this set. Certainly it has caused
> no problems in my writing and testing the nfsroot code I did last month.
OK, I personally am not interested in this behavior. I will leave it up
to others if dracut should support it.
>
>>> * DHCP root-path option, with varying forms
>>> Using next-server or server-id opt and root-path as pure path:
>>> ${next_server-${server_id}}:${root_path}
>> This particular method is ambiguous, why next-server or server-id?
>
> If next-server is set, use it. If not, use server-id. This method has
> been long used and is unambiguous.
Ditto.
>
>> I think we should seriously consider that we shouldn't be concerned with
>> every possible legacy method of setting up nfsroot. Each generation of
>> software has the opportunity to configure itself in the way that it
>> needs. What scenarios are there where this isn't true?
>>
>> I mean, if you use old software, don't use dracut.
>
> This isn't about using old software, it is about allowing old
> configuration methods to work so that dracut can be a drop in
> replacement. I'm not saying these are all good ways to do it, or that we
> necessarily need to support all of them, but if they are easy to map to
> our solution once we choose it, then it makes sense to do so.
>
> It's nice when software is usable without having to read all of the
> documentation -- in many ways, this allows a dracut-enabled distro to be
> dropped into place in an existing DHCP environment, which may have
> thousands of nodes using the existing syntax.
The dracut documentation should reduce confusion by describing one
official syntax. I'll leave it up to others to decide if dracut should
support legacy/deprecated syntaxes. I guess I don't care too much to
fight it.
>
>>> * What about multiple devices?
>> AFAIK nothing out there supports booting from the second interface. Am
>> I wrong?
>
> gedi-tools.sf.net will boot from whatever interface and remap it to
> eth0. You yourself were complaining about issues with wireless. I have
> several machines in which the interface they should boot of off is not
> eth0, and it is not possible to swap the order of the cards.
>
> Besides, it is already implemented, sans bugs from my forward port.
OK, another case where I don't care about it, as long as other people
make the code work.
Might I ask though, if no ip= line is supplied, assume dhcp and use only
whatever it thinks is eth0.
Warren Togami
wtogami-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org
--
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 prev parent reply other threads:[~2009-05-28 2:52 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-24 1:00 How do we want to handle configuring network boot devices? David Dillow
[not found] ` <1243126816.4217.248.camel-1q1vX8mYZiGLUyTwlgNVppKKF0rrzTr+@public.gmane.org>
2009-05-24 8:29 ` Julien Cristau
2009-05-27 21:54 ` Warren Togami
[not found] ` <4A1DB696.9060807-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-05-28 0:23 ` David Dillow
[not found] ` <1243470194.23466.32.camel-1q1vX8mYZiGLUyTwlgNVppKKF0rrzTr+@public.gmane.org>
2009-05-28 0:40 ` David Dillow
2009-05-28 2:52 ` Warren Togami [this message]
[not found] ` <4A1DFC8B.2060700-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-05-28 3:41 ` Victor Lowther
2009-05-28 3:00 ` Warren Togami
2009-05-28 15:42 ` Harald Hoyer
[not found] ` <4A1EB0D2.30500-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-05-28 18:23 ` Warren Togami
2009-05-29 13:18 ` Seewer Philippe
2009-05-29 15:26 ` 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=4A1DFC8B.2060700@redhat.com \
--to=wtogami-h+wxahxf7alqt0dzr+alfa@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.