mkinitrd unification across distributions
 help / color / mirror / Atom feed
From: Dave Young <dyoung-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: David Dillow <dave-i1Mk8JYDVaaSihdK6806/g@public.gmane.org>
Cc: Cong Wang
	<xiyou.wangcong-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org
Subject: Re: [PATCH 2/7] auto setup network without netroot
Date: Tue, 07 Feb 2012 09:50:22 +0800	[thread overview]
Message-ID: <4F30835E.4030904@redhat.com> (raw)
In-Reply-To: <1328534517.10153.20.camel-1q1vX8mYZiGLUyTwlgNVppKKF0rrzTr+@public.gmane.org>

On 02/06/2012 09:21 PM, David Dillow wrote:

> On Mon, 2012-02-06 at 16:43 +0800, Dave Young wrote:
>> On 02/06/2012 03:53 PM, Cong Wang wrote:
>>
>>> On 02/06/2012 03:51 PM, Dave Young wrote:
>>>> I think the key problem is the network setup code split. I would not
>>>> insist on this although I don't like that we must add ip= to have
>>>> network setup
>>>
>>> With your patches, we must have rd.neednet=1. :) So, it is unfair to
>>> only blame ip= approach.
>>
>>
>> I mean for netroot we also must have ip= set because ip= will deal with
>> the network setup. Originally we might have no ip= but with proper
>> netroot param like root=nfs...
> 
> In that case, we do DHCP and it works. Having ip=BLAH on the command
> line is not a requirement.


Then I'm ok for this

> 
> As for rdbreak=cmdline, I expect that to be used by experts debugging
> dracut issues, and they should be knowledgeable enough to manually
> configure the network if they need it. I don't believe an automated
> solution is required there. That's not to say a script to do the right
> thing wouldn't be useful, just not high on the list of things to do.


Make sense to me as well.

> 
> I could easily envision a "helper script" that runs through the command
> line arguments (perhaps using the existing hooks) and brings up the
> network. But I see it as more of a user-run command than an automated
> step.


If there's such a script it will be much better because it will save
time of people to investigate the detail of dracut network.

>

> --
> 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



-- 
Thanks
Dave

  parent reply	other threads:[~2012-02-07  1:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-02  7:59 [PATCH 2/7] auto setup network without netroot Dave Young
     [not found] ` <20120202075952.GA12412-4/PLUo9XfK+sDdueE5tM26fLeoKvNuZc@public.gmane.org>
2012-02-06  6:45   ` David Dillow
     [not found]     ` <1328510722.10153.13.camel-1q1vX8mYZiGLUyTwlgNVppKKF0rrzTr+@public.gmane.org>
2012-02-06  7:51       ` Dave Young
     [not found]         ` <4F2F8666.50907-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-02-06  7:53           ` Cong Wang
     [not found]             ` <4F2F86F6.5010007-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-02-06  8:43               ` Dave Young
     [not found]                 ` <4F2F92CB.1000804-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-02-06 13:21                   ` David Dillow
     [not found]                     ` <1328534517.10153.20.camel-1q1vX8mYZiGLUyTwlgNVppKKF0rrzTr+@public.gmane.org>
2012-02-07  1:50                       ` Dave Young [this message]
2012-02-07 11:15   ` Harald Hoyer

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=4F30835E.4030904@redhat.com \
    --to=dyoung-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=dave-i1Mk8JYDVaaSihdK6806/g@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