John Baldwin wrote:
On Monday 04 December 2006 13:23, Sam Leffler wrote:
There's a small patch at:
http://www.freebsd.org/~sam/nfsopts.patch
to unify parsing of nfs mount options supplied when booting over the
net. It also extends the supported options so you can do things like
specify nolockd, tcp, udp, and nfsv2, nfsv3. Some of this appears to be
superfluous given the work that rc.initdiskless does but it's there.
The one change I'm uncertain of is the bounds checking I apply to
rsize/wsize.
Sam
Do you need to set NFSMNT_RSIZE and NFSMNT_WSIZE in nd->flags in
nfs_parse_options() if you get a "rsize" or "wsize" option? For the
bootp case the flags are always set, but was worried about the
non-bootp case.
Probably. I have not had time to test the pxe booting case. I've only
tested booting with bootp/dhcp.
Sam