All of lore.kernel.org
 help / color / mirror / Atom feed
* NFS why root=nfs and root=nfs4?
@ 2009-06-22 21:31 Warren Togami
       [not found] ` <4A3FF836.6080208-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Warren Togami @ 2009-06-22 21:31 UTC (permalink / raw)
  To: initramfs

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

     client_test "NFSv3 root=nfs DHCP IP:path" 52:54:00:12:34:01 \
         "root=nfs" 192.168.50.2 -wsize=4096 || return 1

     client_test "NFSv4 root=nfs4 DHCP path only" 52:54:00:12:34:80 \
         "root=nfs4" 192.168.50.1 -wsize=4096 || return 1

     client_test "NFSv4 netroot=nfs4 DHCP IP:path" 52:54:00:12:34:81 \
         "netroot=nfs4" 192.168.50.2 -wsize=4096 || return 1

     client_test "NFSv4 root=nfs4 DHCP IP:path" 52:54:00:12:34:81 \
         "root=nfs4" 192.168.50.2 -wsize=4096 || return 1

     client_test "NFSv4 root=nfs4" 52:54:00:12:34:84 \
         "root=nfs4" 192.168.50.1 -wsize=4096 || return 1

     client_test "NFSv4 root=nfs4 DHCP path,options" \
         52:54:00:12:34:85 "root=nfs4" 192.168.50.1 wsize=4096 || return

     client_test "NFSv4 root=nfs4 DHCP IP:path,options" \
         52:54:00:12:34:86 "root=nfs4" 192.168.50.2 wsize=4096 || return

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.

Benefits of de-supporting these variations:
* Simplify the documentation further, fewer possible ways to configure 
it to confuse people.
* Far fewer redundant test cases to make the test suite slow.

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-06-23  4:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
     [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

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.