On Fri, Apr 27, 2012 at 03:21:15PM +0000, Myklebust, Trond wrote: > > > > OK. So either this patch needs to go in, or something needs to add: > > > > > > > > alias nfs4 nfs > > > > > > > > to a conf file so modprobe picks it up. I figured the kernel could add > > > > the alias itself. Is there a reason not to? > > > > > > Yes. This is a legacy feature that we want to encourage people to move > > > their systems off... > > > > So essentially what needs to happen is: > > > > - Recent distros still ship the modalias in a conf file > > - Upstream nfs-utils starts translating 'mount -t nfs4' into 'mount -t > > nfs -overs=4' in /sbin/mount.nfs4 > > - Upstream releases that > > - Distros drop the alias. > > > > Right? > > No. Really all we need to do is add a printf() to /sbin/mount.nfs4 to > the effect that this is a legacy feature and that '-t nfs -overs=4' is > the recommended mount option. Perhaps the distros can also have their > distro upgrade utilities edit /etc/fstab to upgrade those automatically. > > Then the distros can drop the alias whenever they think it is > appropriate. My limited experience shows that people won't change their habits until those habits simply no longer work. Adding a printf is probably a fine thing to do, but I'm not sure it will have much impact on how people go about mounting NFSv4 filesystems. That leads me to believe that the alias will be carried along for quite a while. Anyway, the immediate problem can be solved by just keeping the alias in a conf file. If that's what is recommended for now, OK. josh -- 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