From: Harald Hoyer <harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Wim Muskee <wimmuskee-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] unquote nbd port
Date: Thu, 06 Sep 2012 10:51:28 +0200 [thread overview]
Message-ID: <50486410.4030202@redhat.com> (raw)
In-Reply-To: <CAKzfqkepaa87Q8aU5WsNi9TFCpka02eKOfCOaOZg80eOGa=ywA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
Am 25.08.2012 13:42, schrieb Wim Muskee:
> Name based connects fail because of the quotes around the $nbdport.
> For name based connects, the -N option also gets included. For
> instance nbd-client 192.168.0.1 '-N ltsp' /dev/nbd0.
> I believe the quotes are not necessary for actual port numbers.
>
> --- modules.d/95nbd/nbdroot.sh.orig 2012-08-25 13:38:00.817059355 +0200
> +++ modules.d/95nbd/nbdroot.sh 2012-08-25 13:38:21.532204861 +0200
> @@ -95,7 +95,7 @@
> i=$(( $i + 1))
> done
>
> -nbd-client $preopts "$nbdserver" "$nbdport" /dev/nbd0 $opts || exit 1
> +nbd-client $preopts "$nbdserver" $nbdport /dev/nbd0 $opts || exit 1
>
> # If we didn't get a root= on the command line, then we need to
> # add the udev rules for mounting the nbd0 device
applied, thanks!
prev parent reply other threads:[~2012-09-06 8:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-25 11:42 [PATCH] unquote nbd port Wim Muskee
[not found] ` <CAKzfqkepaa87Q8aU5WsNi9TFCpka02eKOfCOaOZg80eOGa=ywA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-09-06 8:51 ` Harald Hoyer [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=50486410.4030202@redhat.com \
--to=harald-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
--cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=wimmuskee-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.