Date: Wed, 21 Mar 2007 00:15:04 +0100 From: Roland Smith <rsmith@xs4all.nl> To: RW <fbsd06@mlists.homeunix.com> Cc: freebsd-questions@freebsd.org Subject: Re: gbde and geli - differences Message-ID: <20070320231504.GB38069@slackbox.xs4all.nl> In-Reply-To: <20070320223619.6c18cd08@gumby.homeunix.com> References: <20070320190305.O29971@chylonia.3miasto.net> <20070320223619.6c18cd08@gumby.homeunix.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--qcHopEYAB45HaUaB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 20, 2007 at 10:36:19PM +0000, RW wrote: > On Tue, 20 Mar 2007 19:06:28 +0100 (CET) > Wojciech Puchar <wojtek@tensor.gdynia.pl> wrote: >=20 > > what they are. both works, both works right. > > geli has more options. > >=20 > > why there are both? what should i use to have better chance i will be > > able to recover data after say 10 years knowing password? > =20 > I presume it's to do with geli using OpenSSL libraries and so picking-up > hardware acceleration where available. I think gdbe is being sidelined. geli uses the crypto(9) framework. Not sure about the OpenSSL libraries. > > i need both encrypted partition and encrypted copies/DVDs. >=20 > I'd be interested if anyone has a method for creating encrypted DVDs > that still works.=20 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. E.g: # dd if=3D/dev/random of=3D$HOME/backupDVD.img bs=3D1m count=3D4000 # mdconfig -a -t vnode -f $HOME/backupDVD.img (The name of the md device will be printed on stdout, e.g. 'md0'.) # geli init -l 256 /dev/md0 # geli attach /dev/md0 # newfs /dev/md0.eli # mount /dev/md0.eli /mnt/root Use it. Then: # umount /mnt/root # geli detach md0.eli # mdconfig -d -u 0 Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --qcHopEYAB45HaUaB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQFGAGr4EnfvsMMhpyURAkn/AJwOcWyC8sJMlG6lLGaGSYJeKOGxxwCeNWOf UfgmK4MR+9wiCHzC9CUFH9E= =OXOq -----END PGP SIGNATURE----- --qcHopEYAB45HaUaB--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070320231504.GB38069>