From: Dave Young <dyoung-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Cong Wang <xiyou.wangcong-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Harald Hoyer <harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Subject: Re: [PATCH] auto setup network without netroot
Date: Tue, 31 Jan 2012 09:42:27 +0800 [thread overview]
Message-ID: <4F274703.30003@redhat.com> (raw)
In-Reply-To: <4F266AEE.703-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
On 01/30/2012 06:03 PM, Cong Wang wrote:
> On 01/30/2012 05:49 PM, Dave Young wrote:
>> On 01/30/2012 05:31 PM, Cong Wang wrote:
>>
>>> On 01/30/2012 05:16 PM, Dave Young wrote:
>>>>
>>>> How to say...
>>>> There's many different configs for network like:
>>>> 1. ip={dhcp|on|any|dhcp6|auto6|ibft}
>>>> 2. ip=<interface>:{dhcp|on|any|dhcp6|auto6}
>>>> 3. ip=<client-IP>:[<server-id>
>>>> ]:<gateway-IP>:<netmask>:<client_hostname>:<interface>:{none|off}
>>>> 4. ifname=
>>>> 5. bootdev=
>>>> 6. root=nfs:[snip]
>>>>
>>>> They are all possibly be used, IHMO they are not good options for this
>>>> patch using. For example there's no NIC specified in 1 and 3, we will
>>>> still have to bring up the default
>>>
>>>
>>> Kdump module can make sure that at least one NIC will be specified, if
>>> there is ip=.
>>>
>>>>
>>>> Also this is a general feature, maybe it will be used by users other
>>>> than kdump. For kdump I think we can use proper ip= plus rd.neednet=1
>>>>
>>>
>>> Why? If we can re-use ip=, it will imply rd.neednet=1, so again,
>>> rd.neednet is not needed.
>>
>>
>> why choose ip=? what if user pass ifname= or bootdev= without ip=? I
>
> For kdump, ip= is the one we need, it has the NIC, and dhcp etc,
> everything we need to bring up an NIC.
>
> If ifname= or bootdev= is provided but no ip=, we can just bring the NIC
> up without assigning any IP address.
>
>> want to benefit to other user as well, from semantic point of view one
>> global switch like rd.neednet is more clear then reuse the various other
>> options.
>
> I can't agree, only specifying ip= also means bringing up network
> apparently.
Harald, what's your opnion? especially about the previous patch to allow
manually bring up network with like 'ifup eth0 -m'? Can you give comments?
--
Thanks
Dave
prev parent reply other threads:[~2012-01-31 1:42 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-30 6:43 [PATCH] auto setup network without netroot Dave Young
2012-01-30 8:33 ` Cong Wang
2012-01-30 8:51 ` Dave Young
[not found] ` <4F265A0B.1000402-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-01-30 8:51 ` Cong Wang
[not found] ` <4F265A22.2090407-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-01-30 8:59 ` Dave Young
[not found] ` <4F265C01.4010701-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-01-30 9:03 ` Cong Wang
[not found] ` <4F265CDB.7070204-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-01-30 9:16 ` Dave Young
[not found] ` <4F266004.5080501-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-01-30 9:31 ` Cong Wang
[not found] ` <4F266389.70303-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-01-30 9:49 ` Dave Young
[not found] ` <4F2667A4.4080203-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-01-30 10:03 ` Cong Wang
[not found] ` <4F266AEE.703-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-01-31 1:42 ` Dave Young [this message]
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=4F274703.30003@redhat.com \
--to=dyoung-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
--cc=harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=xiyou.wangcong-Re5JQEeQqe8AvxtiuMwx3w@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