On Thu, 29 Oct 2009 00:24:15 -0400 Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote: > On Wed, Oct 28, 2009 at 03:40:12PM -0400, Jeff Layton wrote: > > Solaris uses netids as values for the proto= option, so that when > > someone specifies "tcp6" they get traffic over TCP + IPv6. Until > > recently, this has never really been an issue for Linux since it didn't > > support NFS over IPv6. The netid and the protocol name were generally > > always the same (modulo any strange configuration in /etc/netconfig). > > > > The solaris manpage documents their proto= option as: > > > > proto= _netid_ | rdma > > I'm strictly against adding netid braindamage to Linux. Just because > Solaris made a mistake we don't have to repeat it. > > Adding a hack to mount.nfs to parse it is fine, but there's not need to > display it again. Can you outline your objection to using netid's? What specifically are you against here? There's good reason to keep the userspace utility and kernel in sync with respect to options. Otherwise if someone tries to remount a filesystem with the options listed in /proc/mounts the result will be different, no? -- Jeff Layton <jlayton@xxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html