Date: Mon, 04 Dec 2006 13:38:16 -0800 From: Sam Leffler <sam@errno.com> To: John Baldwin <jhb@freebsd.org> Cc: freebsd-arch@freebsd.org Subject: Re: CFR: NFS root options fixup Message-ID: <45749548.8010208@errno.com> In-Reply-To: <200612041610.14195.jhb@freebsd.org> References: <45746791.5040807@errno.com> <200612041610.14195.jhb@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45749548.8010208>