From owner-freebsd-doc@FreeBSD.ORG Fri Sep 30 14:29:58 2005 Return-Path: X-Original-To: freebsd-doc@FreeBSD.org Delivered-To: freebsd-doc@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 913D116A420; Fri, 30 Sep 2005 14:29:58 +0000 (GMT) (envelope-from marc@blackend.org) Received: from abigail.blackend.org (blackend.org [212.11.35.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id 44AFF43D48; Fri, 30 Sep 2005 14:29:57 +0000 (GMT) (envelope-from marc@blackend.org) Received: from gothic.blackend.org (gothic.blackend.org [192.168.1.203]) by abigail.blackend.org (8.13.3/8.13.3) with ESMTP id j8UETt0Z038465; Fri, 30 Sep 2005 16:29:55 +0200 (CEST) (envelope-from marc@abigail.blackend.org) Received: from gothic.blackend.org (localhost.blackend.org [127.0.0.1]) by gothic.blackend.org (8.13.3/8.13.3) with ESMTP id j8UETtAI002929; Fri, 30 Sep 2005 16:29:55 +0200 (CEST) (envelope-from marc@gothic.blackend.org) Received: (from marc@localhost) by gothic.blackend.org (8.13.3/8.13.3/Submit) id j8UETtMZ002928; Fri, 30 Sep 2005 16:29:55 +0200 (CEST) (envelope-from marc) Date: Fri, 30 Sep 2005 16:29:55 +0200 From: Marc Fonvieille To: John Baldwin Message-ID: <20050930142955.GC595@gothic.blackend.org> Mail-Followup-To: John Baldwin , freebsd-doc@freebsd.org, "Simon L. Nielsen" References: <200509300800.j8U80ZiG094804@freefall.freebsd.org> <200509301018.11489.jhb@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200509301018.11489.jhb@FreeBSD.org> X-Useless-Header: blackend.org X-Operating-System: FreeBSD 5.4-STABLE User-Agent: Mutt/1.5.9i Cc: freebsd-doc@FreeBSD.org, "Simon L. Nielsen" Subject: Re: docs/86733: [patch] Add using kldload as an alternative to compiling in gbde in your kernel X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Sep 2005 14:29:58 -0000 On Fri, Sep 30, 2005 at 10:18:10AM -0400, John Baldwin wrote: > > Sure about that? It's been a while since I played with gbde (now it's > > just running) but I'm rather sure 'geom_bde_load=3D"YES"' in loader.conf > > works just fine. > > > > I only have a 7.0 handy that I can reboot, but there it works just > > fine loading gbde from loader.conf. > > Yes, it will work. None of the foo_load variables are explicit in the loader. > Instead, it walks all the environment variables and if any variable ends with > _load, it tries to load the kld named by the prefix. Thus, if you set > foo_load=YES, it will try to load foo.ko and will unset foo_load if it is > successful. > This is "documented" (use of huge quotes :) in "Module loading syntax example" part of boot/defaults/loader.conf Marc