Give the kernel a native NFS mount rpc capability for mounting NFS roots by
authorMatthew Dillon <dillon@dragonflybsd.org>
Sun, 4 Sep 2005 01:29:00 +0000 (01:29 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sun, 4 Sep 2005 01:29:00 +0000 (01:29 +0000)
commit0e8ff41ac29f4cf41084018e133c4758a1f73f73
tree0ec0df4159fb6538a8f911f2a6d60675d6eab93e
parent423d6aa030d43ea1d66b0572688d0964c641c1b5
Give the kernel a native NFS mount rpc capability for mounting NFS roots by
splitting off the mount rpc code from the BOOTP code.  The loader is no
longer required to pass the nfs root mount file handle to the kernel.

Pure tftp-based loaders with no knowledge of NFS can now pass a NFS root
mount path to the kernel without having to pass a resolved NFS file handle.
This change allows kernels booted from tftp loaders to have an NFS root
without having to specify BOOTP (which sometimes doesn't work properly when
done from both the loader and from the kernel).
sys/conf/files
sys/i386/i386/autoconf.c
sys/platform/pc32/i386/autoconf.c
sys/vfs/nfs/bootp_subr.c
sys/vfs/nfs/nfs_mountrpc.c [new file with mode: 0644]
sys/vfs/nfs/nfs_vfsops.c
sys/vfs/nfs/nfsmountrpc.h [new file with mode: 0644]