mkinitrd unification across distributions
 help / color / mirror / Atom feed
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
Subject: Re: [PATCH 1/2 v2] split nfsroot rpc start code
Date: Wed, 01 Feb 2012 16:04:00 +0800	[thread overview]
Message-ID: <4F28F1F0.8050000@redhat.com> (raw)
In-Reply-To: <4F28F123.4050807-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>

On 02/01/2012 04:00 PM, Dave Young wrote:

> On 02/01/2012 03:56 PM, Cong Wang wrote:
> 
>> On 02/01/2012 03:56 PM, Dave Young wrote:
>>> On 02/01/2012 03:48 PM, Cong Wang wrote:
>>>> On Wed, 01 Feb 2012 at 02:00 GMT, Dave Young<dyoung-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>  wrote:
>>>>> Index: dracut/modules.d/95nfs/module-setup.sh
>>>>> ===================================================================
>>>>> --- dracut.orig/modules.d/95nfs/module-setup.sh
>>>>> +++ dracut/modules.d/95nfs/module-setup.sh
>>>>> @@ -57,6 +57,7 @@ install() {
>>>>>       dracut_install $(for _i in $(ls {/usr,}$libdir/libnss*.so
>>>>> 2>/dev/null); do echo $_i;done | egrep "$_nsslibs")
>>>>>
>>>>>       inst_hook cmdline 90 "$moddir/parse-nfsroot.sh"
>>>>> +    inst_hook cmdline 91 "$moddir/nfs-start-rpc.sh"
>>>>
>>>> I am sure this is wrong. You need pre-pivot.
>>>
>>>
>>> I want to start them as early as we can, I always think about user use
>>> dracut as a minimal recovery system, they need do something manually.
>>>
>>
>> Then install it as pre-pivot 00.
> 
> 
> What if I use rdbreak=point which is before pre-pivot?
> 
>>
>> Do one thing at one time, I know this patch now is for kdump. If you
>> really need a minimal recovery system, do that later. :)


Generally it's right, but for this issue they are not conflict. I'd like
to think it as a general feature and do not assume it's only for kdump.

-- 
Thanks
Dave

  parent reply	other threads:[~2012-02-01  8:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-01  2:00 [PATCH 1/2 v2] split nfsroot rpc start code Dave Young
2012-02-01  7:48 ` Cong Wang
2012-02-01  7:56   ` Dave Young
     [not found]     ` <4F28F017.3030908-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-02-01  7:56       ` Cong Wang
     [not found]         ` <4F28F01C.4020208-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-02-01  8:00           ` Dave Young
     [not found]             ` <4F28F123.4050807-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-02-01  8:04               ` Dave Young [this message]
2012-02-01  8:04               ` Cong Wang
     [not found]                 ` <4F28F21D.4070509-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-02-01  8:16                   ` Dave Young
     [not found]                     ` <4F28F4F0.205-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-02-01  8:20                       ` Cong Wang
     [not found]                         ` <4F28F5BC.8090000-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-02-01  8:44                           ` Dave Young

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=4F28F1F0.8050000@redhat.com \
    --to=dyoung-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