From owner-freebsd-net Mon Mar 11 1:30:34 2002 Delivered-To: freebsd-net@freebsd.org Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id 5D78B37B405 for ; Mon, 11 Mar 2002 01:30:29 -0800 (PST) Received: (from rizzo@localhost) by iguana.icir.org (8.11.6/8.11.3) id g2B9UT840578 for net@FreeBSD.ORG; Mon, 11 Mar 2002 01:30:29 -0800 (PST) (envelope-from rizzo) Date: Mon, 11 Mar 2002 01:30:29 -0800 From: Luigi Rizzo To: net@FreeBSD.ORG Subject: Re: can we set options for nfsroot mount from bootp ? Message-ID: <20020311013029.E40002@iguana.icir.org> References: <20020311011913.D40002@iguana.icir.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020311011913.D40002@iguana.icir.org> User-Agent: Mutt/1.3.23i Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org UTSL... from sys/nfs/bootp_subr.c /* Site specific tags: */ #define TAG_SWAP 128 #define TAG_SWAPSIZE 129 #define TAG_ROOTOPTS 130 #define TAG_SWAPOPTS 131 so something like T130="tcp" does the job... cheers luigi On Mon, Mar 11, 2002 at 01:19:13AM -0800, Luigi Rizzo wrote: > Hi, > is there a way to pass nfs mount options to the kernel via bootp ? > I notice that the system defaults to very large blocksizes, > which causes a lot of IP fragmentation and lots of trouble > when going through a bottleneck. > > You can set the mount options through fstab, but before getting > there you need to access the root filesystem... > > cheers > luigi > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message