From owner-freebsd-arch@FreeBSD.ORG Mon Dec 4 18:23:24 2006 Return-Path: X-Original-To: arch@freebsd.org Delivered-To: freebsd-arch@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4770A16A40F for ; Mon, 4 Dec 2006 18:23:24 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0F0443CD5 for ; Mon, 4 Dec 2006 18:22:41 +0000 (GMT) (envelope-from sam@errno.com) Received: from [10.0.0.248] (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id kB4INDM0058289 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 4 Dec 2006 10:23:14 -0800 (PST) (envelope-from sam@errno.com) Message-ID: <45746791.5040807@errno.com> Date: Mon, 04 Dec 2006 10:23:13 -0800 From: Sam Leffler User-Agent: Thunderbird 1.5.0.7 (X11/20060920) MIME-Version: 1.0 To: arch@freebsd.org X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: CFR: NFS root options fixup X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Dec 2006 18:23:24 -0000 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