From owner-freebsd-stable@FreeBSD.ORG Thu Sep 7 18:33:09 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 77CF916A4E6 for ; Thu, 7 Sep 2006 18:33:09 +0000 (UTC) (envelope-from jd@ugcs.caltech.edu) Received: from riyal.ugcs.caltech.edu (riyal.ugcs.caltech.edu [131.215.176.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id 17CA843D72 for ; Thu, 7 Sep 2006 18:32:44 +0000 (GMT) (envelope-from jd@ugcs.caltech.edu) Received: by riyal.ugcs.caltech.edu (Postfix, from userid 3640) id 3716745806; Thu, 7 Sep 2006 11:31:47 -0700 (PDT) Date: Thu, 7 Sep 2006 11:31:47 -0700 From: Paul Allen To: Daniel Bond Message-ID: <20060907183147.GA17912@riyal.ugcs.caltech.edu> References: <20060907181311.GA25768@spearburn.danielbond.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060907181311.GA25768@spearburn.danielbond.org> Sender: jd@ugcs.caltech.edu Cc: freebsd-stable@freebsd.org Subject: Re: Patch for GBDE rc-script X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2006 18:33:09 -0000 >From Daniel Bond , Thu, Sep 07, 2006 at 08:13:11PM +0200: > Hi, > > I just setup GBDE on my laptop, encrypting my 512M cf-card. > This works like a charm, but I felt the need to enchance the rc-script a > little to automatically mount the encrypted drive(s), if you have the > following in /etc/rc.conf: > > * gbde_autoattach_all="YES" > * gbde_devices="device1 device2 .. etc" > > So I added another option: > * gbde_mountpoint="/private" to /etc/defaults/rc.conf > > This option acts like a basedir for mounting the partition, IE. after running > /etc/rc.d/gbde start, I get the following mount entry in the the mount-command > output: > > /dev/ad1s1c.bde on /private/bde_ad1s1c (ufs, local, soft-updates) > It seems to me that this is really something that belongs in devd. Boot-time is decidedly not ideal. Paul