From owner-freebsd-questions@FreeBSD.ORG Wed Mar 21 18:33:23 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 981E816A401 for ; Wed, 21 Mar 2007 18:33:23 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by mx1.freebsd.org (Postfix) with ESMTP id 7042313C4D3 for ; Wed, 21 Mar 2007 18:33:23 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from gumby.homeunix.com (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id 2D49251941 for ; Wed, 21 Mar 2007 14:33:22 -0400 (EDT) Date: Wed, 21 Mar 2007 18:33:19 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20070321183319.72ceab4c@gumby.homeunix.com> In-Reply-To: <20070321070251.GA50637@slackbox.xs4all.nl> References: <20070320190305.O29971@chylonia.3miasto.net> <20070320223619.6c18cd08@gumby.homeunix.com> <20070320231504.GB38069@slackbox.xs4all.nl> <20070321001321.5dea258f@gumby.homeunix.com> <20070321070251.GA50637@slackbox.xs4all.nl> X-Mailer: Claws Mail 2.8.1 (GTK+ 2.10.11; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: gbde and geli - differences X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Mar 2007 18:33:23 -0000 On Wed, 21 Mar 2007 08:02:51 +0100 Roland Smith wrote: > On Wed, Mar 21, 2007 at 12:13:21AM +0000, RW wrote: > > > > > > i need both encrypted partition and encrypted copies/DVDs. > > > > > > > > I'd be interested if anyone has a method for creating encrypted > > > > DVDs that still works. > > > > > > You can use a UFS filesystem on a DVD. In short: > > > - create an file with random characters the size of a DVD. > > > - use that as a vnode backed memory disk with mdconfig. > > > - initialize and attach that with geli. > > > - create a new filesystem on the geli device > > > - mount it. > > > > But how do you put that on a DVD-R or DVD+R? > > growisofs -dvd-compat -Z /dev/dvd=$HOME/backupDVD.img How do you attach the dvd content? # geli attach /dev/cd0 Cannot read metadata from /dev/cd0: Invalid argument. geli attach -r /dev/cd0 Cannot read metadata from /dev/cd0: Invalid argument. I also tried acd0, and acd0t01 # ls -l /dev/*cd0* crw-rw-r-- 1 root operator 0, 105 Mar 21 11:27 /dev/acd0 crw-r----- 1 root operator 0, 165 Mar 21 11:27 /dev/acd0t01 crw-rw-r-- 1 root operator 0, 142 Mar 21 11:27 /dev/cd0