From owner-freebsd-stable@FreeBSD.ORG Thu Sep 7 19:14:23 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 B16D416A4DD for ; Thu, 7 Sep 2006 19:14:23 +0000 (UTC) (envelope-from db@spearburn.danielbond.org) Received: from spearburn.danielbond.org (ti221110a080-2410.bb.online.no [83.109.137.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 218D043D55 for ; Thu, 7 Sep 2006 19:14:23 +0000 (GMT) (envelope-from db@spearburn.danielbond.org) Received: by spearburn.danielbond.org (Postfix, from userid 1001) id D0E275C49; Thu, 7 Sep 2006 21:17:11 +0200 (CEST) Date: Thu, 7 Sep 2006 21:17:11 +0200 From: Daniel Bond To: Paul Allen Message-ID: <20060907191711.GB25768@spearburn.danielbond.org> References: <20060907181311.GA25768@spearburn.danielbond.org> <20060907183147.GA17912@riyal.ugcs.caltech.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060907183147.GA17912@riyal.ugcs.caltech.edu> X-GPG-Key-Id: 37898D6C X-GPG-Key-Server: http://pgp.mit.edu X-GPG-Key-FingerPrint: DA2F 6D5F 052B 0180 6E12 F62D 85E6 9276 59CC E5B6 User-Agent: mutt-ng/devel-r804 (FreeBSD) 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 19:14:23 -0000 On 11:31 Thu 07 Sep, Paul Allen wrote: > 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 Nice, thankyou :) -- Med vennlig hilsen / Best regards, ------------------------------------------ Daniel Bond PGP: C822C4BD ------------------------------------------