From owner-freebsd-geom@FreeBSD.ORG Thu Dec 2 18:36:01 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 5B7EF16A4CE for ; Thu, 2 Dec 2004 18:36:01 +0000 (GMT) Received: from mail3.speakeasy.net (mail3.speakeasy.net [216.254.0.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD1CC43D46 for ; Thu, 2 Dec 2004 18:36:00 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: (qmail 1420 invoked from network); 2 Dec 2004 18:36:00 -0000 Received: from gate.funkthat.com (HELO hydrogen.funkthat.com) ([69.17.45.168]) (envelope-sender ) by mail3.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 2 Dec 2004 18:36:00 -0000 Received: from hydrogen.funkthat.com (jsbapq@localhost.funkthat.com [127.0.0.1])iB2IZxGH096732; Thu, 2 Dec 2004 10:35:59 -0800 (PST) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.12.10/8.12.10/Submit) id iB2IZxu6096731; Thu, 2 Dec 2004 10:35:59 -0800 (PST) Date: Thu, 2 Dec 2004 10:35:59 -0800 From: John-Mark Gurney To: Ivan Voras Message-ID: <20041202183559.GH19624@funkthat.com> References: <41AF3FCE.1030405@fer.hr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41AF3FCE.1030405@fer.hr> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.2-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html cc: freebsd-geom@freebsd.org Subject: Re: More geom classes? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John-Mark Gurney List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Dec 2004 18:36:01 -0000 Ivan Voras wrote this message on Thu, Dec 02, 2004 at 17:16 +0100: > I think I misunderstood something. Do you propose this (for 2 disks): > > for each block to be written: > a) generate a block of random data > b) write random data to first disk > c) write random data xor user data to second disk > > So, as long as any person has both disks, the data can be recovered. > Where's the security in that? No, the point is to take say, a CDROM which you have preloaded with pure random data, i.e. burncd /dev/random, then you create a proper sized partition, then using gxor you meld the two... Then for any read/write requests, you take the data, read from the OTP, xor the data, and pass it on... Then when you go away, you take the cdrom, w/o it, there is no data... I like the idea, and it would be a perfect project from someone who is learning geom... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."