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