From owner-freebsd-current@FreeBSD.ORG  Thu Jan 31 02:37:28 2013
Return-Path: <owner-freebsd-current@FreeBSD.ORG>
Delivered-To: freebsd-current@freebsd.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
 by hub.freebsd.org (Postfix) with ESMTP id 649AA9CA
 for <freebsd-current@freebsd.org>; Thu, 31 Jan 2013 02:37:28 +0000 (UTC)
 (envelope-from julian@freebsd.org)
Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16])
 by mx1.freebsd.org (Postfix) with ESMTP id D7F3635E
 for <freebsd-current@freebsd.org>; Thu, 31 Jan 2013 02:37:27 +0000 (UTC)
Received: from JRE-MBP-2.local (c-98-210-232-101.hsd1.ca.comcast.net
 [98.210.232.101]) (authenticated bits=0)
 by vps1.elischer.org (8.14.5/8.14.5) with ESMTP id r0V2auR3018440
 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO);
 Wed, 30 Jan 2013 18:36:57 -0800 (PST)
 (envelope-from julian@freebsd.org)
Message-ID: <5109D8C7.8000608@freebsd.org>
Date: Wed, 30 Jan 2013 18:36:55 -0800
From: Julian Elischer <julian@freebsd.org>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6;
 rv:17.0) Gecko/20130107 Thunderbird/17.0.2
MIME-Version: 1.0
To: "Eggert, Lars" <lars@netapp.com>
Subject: Re: mounting root from NFS via ROOTDEVNAME
References: <D4D47BCFFE5A004F95D707546AC0D7E91F671642@SACEXCMBX01-PRD.hq.netapp.com>
 <CAG=rPVergKVKUO=VySvM65WPJO_Od1tkWvx45tM_sEyO65mwUg@mail.gmail.com>
 <19F92E0C-F004-4F16-A5FC-A10DF84BDCCF@netapp.com>
 <D4D47BCFFE5A004F95D707546AC0D7E91F674CDE@SACEXCMBX01-PRD.hq.netapp.com>
 <CAG=rPVezTjcTp_AXsOMWYCSM1_xFJDvmUwdguHdZBABanGGrxw@mail.gmail.com>
 <D4D47BCFFE5A004F95D707546AC0D7E91F69BF73@SACEXCMBX01-PRD.hq.netapp.com>
In-Reply-To: <D4D47BCFFE5A004F95D707546AC0D7E91F69BF73@SACEXCMBX01-PRD.hq.netapp.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: Craig Rodrigues <rodrigc@crodrigues.org>,
 "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>
X-BeenThere: freebsd-current@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Discussions about the use of FreeBSD-current
 <freebsd-current.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-current>, 
 <mailto:freebsd-current-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-current>
List-Post: <mailto:freebsd-current@freebsd.org>
List-Help: <mailto:freebsd-current-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-current>,
 <mailto:freebsd-current-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 31 Jan 2013 02:37:28 -0000

On 1/30/13 1:32 AM, Eggert, Lars wrote:
> Hi,
>
> On Jan 29, 2013, at 20:22, Craig Rodrigues <rodrigc@crodrigues.org> wrote:
>
>> Alternatively, if you don't want to create an /etc/fstab file, then
>> you could put something like this in your loader.conf file:
>>
>> vfs.root.mountfrom=nfs:10.11.12.13:/usr/home/elars/dst
> Will try that too, but not sure if this works with our custom loader.

your custom loader should have some way to set kernel environment values.
it's a pretty basic requirement and, surprisingly, not that hard to do.