From owner-freebsd-geom@FreeBSD.ORG Tue Aug 17 13:14:33 2004 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4F7A116A4CE for ; Tue, 17 Aug 2004 13:14:33 +0000 (GMT) Received: from mail.broadpark.no (mail.broadpark.no [217.13.4.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E24C43D2F for ; Tue, 17 Aug 2004 13:14:33 +0000 (GMT) (envelope-from des@des.no) Received: from dwp.des.no (37.80-203-228.nextgentel.com [80.203.228.37]) by mail.broadpark.no (Postfix) with ESMTP id 511041205; Tue, 17 Aug 2004 15:15:07 +0200 (MEST) Received: by dwp.des.no (Postfix, from userid 2602) id B0DA4B85E; Tue, 17 Aug 2004 15:14:31 +0200 (CEST) To: "R. W." References: <200408162112.47356.list-freebsd-2004@morbius.sent.com> From: des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=) Date: Tue, 17 Aug 2004 15:14:31 +0200 In-Reply-To: <200408162112.47356.list-freebsd-2004@morbius.sent.com> (R. W.'s message of "Mon, 16 Aug 2004 21:12:46 +0100") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable cc: freebsd-geom@freebsd.org Subject: Re: Encrypted CD/DVDs via gbde or otherwise X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Aug 2004 13:14:33 -0000 "R. W." writes: > I have some data in an encrypted gbde partition. I'd like to be able to=20 > move some of it out to CD-R or DVD in an encrypted, mountable form (as=20 > opposed to simply encrypting a tar file and burning that). > > Most other encryption schemes support this through container files. You=20 > create a 650MB container, mount/attach it, copy the data,=20 > unmount/detach the container, and burn it to CD as a single file on a=20 > data disk. > > AFAIK gbde doesn't support container files. Is it on the roadmap? Or is=20 > there any alternative. (untested) # dd if=3D/dev/zero of=3Dcontainer bs=3D1048576 count=3D650 # mdconfig -a -t vnode -f container # gbde init /dev/md0 # gbde attach /dev/md0 # newfs /dev/md0.bde # mount /dev/md0.bde /mnt # # umount /mnt # gbde detach /dev/md0 # mdconfig -d -u 0 # burncd data container fixate you should then be able to 'gbde attach /dev/acd0' and mount /dev/acd0.bde wherever you like. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no