]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC: r212123
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 16 Sep 2010 01:02:53 +0000 (01:02 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 16 Sep 2010 01:02:53 +0000 (01:02 +0000)
commit2ec1ce8532071b298190e038cecd4b20f6e19e9d
tree5f5f6e72a11d92c6aede2b477a553faa7668b21c
parent0a66e10485ae34820e446f4439263dd1186e5e3c
MFC: r212123
Modify nfs_diskless.c to recognize the environment variable
boot.nfsroot.nfshandlelen and set the diskless root fs to
use NFSv3 and this file handle length when it is set. If
this environment variable is not set, the diskless root fs
will use NFSv2 and the same defaults as before. This fixes
the problem where the diskless nfs root fs had to be on a
FreeBSD server for NFSv3 to work, because it did not know
the correct file handle length and assumed the size used
by FreeBSD.

git-svn-id: svn://svn.freebsd.org/base/stable/8@212716 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/nfsclient/nfs_diskless.c