Subject: CVS commit: [netbsd-1-6] basesrc/sbin/mount_nfs
To: None <source-changes@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 06/18/2002 17:05:37
Module Name: basesrc
Committed By: lukem
Date: Tue Jun 18 14:05:36 UTC 2002
Modified Files:
basesrc/sbin/mount_nfs [netbsd-1-6]: mount_nfs.c
Log Message:
Pull up revision 1.33 (requested by wrstuden in ticket #290):
Catch error code from mount command, and if it's the
error given when we ask for a v3 mount on a v2-only kernel,
*and* we weren't forcing v3, try the mount again as a v2 mount
before erroring out.
To generate a diff of this commit:
cvs rdiff -r1.31 -r1.31.2.1 basesrc/sbin/mount_nfs/mount_nfs.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.