From: Warren Togami <wtogami-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: initramfs <initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: NFS why root=nfs and root=nfs4?
Date: Mon, 22 Jun 2009 21:16:31 -0400 [thread overview]
Message-ID: <4A402CEF.4030506@redhat.com> (raw)
In-Reply-To: <1245710475.13352.31.camel-1q1vX8mYZiGLUyTwlgNVppKKF0rrzTr+@public.gmane.org>
On 06/22/2009 06:41 PM, David Dillow wrote:
> On Mon, 2009-06-22 at 17:31 -0400, Warren Togami wrote:
>> I just realized that the following are yet another NFS syntax variation.
>>
>> client_test "NFSv3 root=nfs DHCP path only" 52:54:00:12:34:00 \
>> "root=nfs" 192.168.50.1 -wsize=4096 || return 1
> [snip]
>> When is it ever necessary to use explicitly root=nfs or root=nfs4
>> instead of root=dhcp? It seems functionally equivalent while
>> unnecessarily limiting since DHCP should tell you the protocol.
>
> Sigh. Let's have this conversation again.
>
> The kernel nfsroot support allows root=/dev/nfs to get the root path
> information from DHCP instead of nfsroot. We support that legacy syntax.
>
> root=nfs was a shortcut to root=/dev/nfs
> root=nfs4 was a shortcut to root=/dev/nfs4, which is something I made up
> when adding nfsroot support to dracut, as it seemed to have a certain
> symmetry with the kernel's support for NFSv3.
With all due respect, I was hesitant to suggest strongly on this earlier
because it was against your opinion and you have been an important
contributor to this project. It is of my opinion that having too many
ways of configuring the same behavior has too many drawbacks. For
brevity I will not restate the many reasons why the Legacy nfsroot.txt
syntax is deprecated and it makes even less sense to invent additional
shortcuts that immediately become deprecated as well.
It is a different story if a syntax variation exists because it is
impossible to do something without it.
If I had it my way, I would advocate dropping Legacy entirely including
the nfsroot.txt syntax and all netboot syntaxes supported (poorly) by
mkinitrd. However it seems that a reasonable compromise is to tolerate
this particular legacy syntax because it is supported well by Debian's
initramfs-tools.
>
> You were planning on removing root=nfs, root=nfs4, and root=/dev/nfs4,
> leaving only root=/dev/nfs for compatibility with the kernel, so the
> root=nfs tests would need to be converted to root=/dev/nfs and the rest
> would go away in that case.
I was uncertain about removal of cases that did not explicitly involve
"nfsroot=", if it remained fully feature-wise capable after that. I
guess it does now.
>
>> Benefits of de-supporting these variations:
>> * Simplify the documentation further, fewer possible ways to configure
>> it to confuse people.
>
> Have a standard syntax section that only mentions the way we want to
> have people use the software, and have a Legacy (and possibly Expert)
> section that gives other ways that work, with a note that these are not
> the suggested/preferred ways.
>
> Am I missing something that makes this so hard? Or do I just have a
> kinder opinion of users than others around here?
This is a difference in design philosophy. We have a native syntax that
seems fully feature capable. Allowing redundancy and variation in this
syntax can confuse people less technically savvy than us who follow
documentation and examples.
A strong argument against this is only if it can be pointed out that a
feature is not capable under the native syntax.
Warren Togami
wtogami-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org
--
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
next prev parent reply other threads:[~2009-06-23 1:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-22 21:31 NFS why root=nfs and root=nfs4? Warren Togami
[not found] ` <4A3FF836.6080208-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-06-22 22:41 ` David Dillow
[not found] ` <1245710475.13352.31.camel-1q1vX8mYZiGLUyTwlgNVppKKF0rrzTr+@public.gmane.org>
2009-06-23 1:16 ` Warren Togami [this message]
[not found] ` <4A402CEF.4030506-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-06-23 3:48 ` David Dillow
[not found] ` <1245728880.13352.106.camel-1q1vX8mYZiGLUyTwlgNVppKKF0rrzTr+@public.gmane.org>
2009-06-23 4:07 ` Warren Togami
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=4A402CEF.4030506@redhat.com \
--to=wtogami-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
--cc=initramfs-u79uwXL29TY76Z2rM5mHXA@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.