4ceaabdb32
only the first one will actually work and all the others just result in errors (which would get printed but otherwise ignored). Instead, wait until we make a choice of which interface will be used to mount the rootfs, and install the default route associated with it (if any). After doing the md_mount() call to obtain the needed info, remove the default route again, and transcribe the route info into the nfs_diskless structure. If the system eventually chooses to mount the nfs rootfs, the default route will be installed again when the nfs_diskless code re-initializes the interface. The theory here is that since we can only have one default route, the one most likely to be correct for mounting the rootfs is the one that was delivered along with the rootpath option. |
||
---|---|---|
.. | ||
bootp_subr.c | ||
krpc_subr.c | ||
krpc.h | ||
nfs_common.h | ||
nfs_diskless.c | ||
nfs_fha.c | ||
nfs_fha.h | ||
nfs_kdtrace.h | ||
nfs_lock.c | ||
nfs_lock.h | ||
nfs_mountcommon.h | ||
nfs_nfssvc.c | ||
nfsdiskless.h | ||
nfsproto.h | ||
nfssvc.h | ||
xdr_subs.h |