All of lore.kernel.org
 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 15:56:07 +0800	[thread overview]
Message-ID: <4F28F017.3030908@redhat.com> (raw)
In-Reply-To: <jgaqo7$n39$1@dough.gmane.org>

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:
>> fstab-sys will mount nonroot nfs as well, so we need to split the necessary
>> code from nfsroot to start rpc daemon as hook script.
>>
>> Signed-off-by: Dave Young <dyoung-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
> 
> Why not Cc me who reviewed your V1 patches? :-/


Hehe, Will do next time.
I assume you will monitor dracut list. sorry about the lazy.

> 
>> ---
>>  modules.d/95nfs/module-setup.sh  |    1 +
>>  modules.d/95nfs/nfs-start-rpc.sh |   17 +++++++++++++++++
>>  modules.d/95nfs/nfsroot          |   15 ---------------
>>  3 files changed, 18 insertions(+), 15 deletions(-)
>>
>> 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.

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

  reply	other threads:[~2012-02-01  7:56 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 [this message]
     [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
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=4F28F017.3030908@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 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.