Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Mar 2007 18:33:19 +0000
From:      RW <fbsd06@mlists.homeunix.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: gbde and geli - differences
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 21 Mar 2007 08:02:51 +0100
Roland Smith <rsmith@xs4all.nl> wrote:

> On Wed, Mar 21, 2007 at 12:13:21AM +0000, RW wrote:
> <snip>
> > > > > 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070321183319.72ceab4c>