I was a bit concerned by this bug before I upgraded but it hasn't actually
bitten me (kernel 2.6.32-6, nfs-utils 1.2.1-3).  My 2.6.32 system only
mounts one NFS filesystem and that is from an embedded device which only
runs nfsv3.

I think this problem may be a bug rather than forcing of a syntax change.
It looks as if the code in stropts.c from mount.nfs has changed to try
nfs4 first if the kernel is > 2.6.31 and a version is not specified for
"-t nfs", but it seems to try to fallback to v3 if v4 fails.  It may
depend on the failure mode as to whether this works.

Mindyou v1.2.1 still states explicitly in utils/mount/nfs.man that
'the fstype field contains either "nfs" (for version 2  or  version
3 NFS  mounts) or "nfs4" (for NFS version 4 mounts)' so it's not even
documented upstream :-(

Nick



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to