From owner-freebsd-questions@FreeBSD.ORG Mon Feb 16 16:01:58 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C587B16A4CE for ; Mon, 16 Feb 2004 16:01:58 -0800 (PST) Received: from mta9.adelphia.net (mta9.adelphia.net [68.168.78.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84A4B43D1F for ; Mon, 16 Feb 2004 16:01:58 -0800 (PST) (envelope-from Barbish3@adelphia.net) Received: from barbish ([67.20.101.119]) by mta9.adelphia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with SMTP id <20040217000137.UWON25917.mta9.adelphia.net@barbish>; Mon, 16 Feb 2004 19:01:37 -0500 From: "JJB" To: "Dany Nativel" , Date: Mon, 16 Feb 2004 19:01:54 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: <40314E16.3040909@natzo.com> Importance: Normal Subject: RE: GBDE - Destroy command not working X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Barbish3@adelphia.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2004 00:01:58 -0000 Sorry I can not help you with your problem. An totally encrypted file system sounded very interesting, I tried to find GBDE in the FBSD ports/package collection and there is no hit on GBDE, or gbde, or encrypted FS. Would you please provide the ports name or an URL to where I can find out more about it? Thanks -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Dany Nativel Sent: Monday, February 16, 2004 6:11 PM To: freebsd-questions@freebsd.org Subject: GBDE - Destroy command not working I've been playing around with GBDE under 5.2RC2-1. It's a fantastic encrypted FS. Following the man page, I've tried to use the destroy command but without success. Here is what I did to create the encrypted FS (for this test I didn't use the /dev/random to fill-up the disc). # kldload geom_bde # gbde init /dev/da0 -i # gbde setkey /dev/da0 -n 2 # gbde attach /dev/da0 # newfs /dev/da0.bde # mount /dev/da0.bde /mnt/usbkey --> use the FS, works fine # umount /mnt/usbkey # gbde detach da0 Then according to the man page I should use : #gbde destroy da0 -n -1 to purge all keys but I get : gbde: illegal option -- n so I changed to : #gbde destroy da0 --n -1 and got : gbde: read: Innapropriate ioctl for device so I changed to : #gbde destroy /dev/da0 --n -1 and this time I get the password prompt but it fails to destroy anything : Enter passphrase: Opened with key 0 gbde: No -L option and no space in sector 0 for lockfile Maybe I didn't understand the purpose of the this command. I thought it was going to replace each lock key with some random data. Can somebody explain me how to use the "destroy" command ? Thanks Dany _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"