Date: Thu, 7 Sep 2006 21:17:11 +0200 From: Daniel Bond <db@danielbond.org> To: Paul Allen <pallen@ugcs.caltech.edu> Cc: freebsd-stable@freebsd.org Subject: Re: Patch for GBDE rc-script Message-ID: <20060907191711.GB25768@spearburn.danielbond.org> In-Reply-To: <20060907183147.GA17912@riyal.ugcs.caltech.edu> References: <20060907181311.GA25768@spearburn.danielbond.org> <20060907183147.GA17912@riyal.ugcs.caltech.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On 11:31 Thu 07 Sep, Paul Allen wrote: > From Daniel Bond <db@danielbond.org>, 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 ------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060907191711.GB25768>