From owner-freebsd-questions@FreeBSD.ORG Sat Mar 26 11:04:27 2005 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 93DE716A4CE for ; Sat, 26 Mar 2005 11:04:27 +0000 (GMT) Received: from mxfep02.bredband.com (mxfep02.bredband.com [195.54.107.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F45243D5A for ; Sat, 26 Mar 2005 11:04:26 +0000 (GMT) (envelope-from scode@scode-whitestar.mine.nu) Received: from scode-whitestar.mine.nu ([83.226.138.147] [83.226.138.147]) by mxfep02.bredband.com with ESMTP <20050326110425.MCCL22685.mxfep02.bredband.com@scode-whitestar.mine.nu> for ; Sat, 26 Mar 2005 12:04:25 +0100 Received: by scode-whitestar.mine.nu (Postfix, from userid 1001) id 44F3E17B8F2; Sat, 26 Mar 2005 12:09:23 +0100 (CET) Date: Sat, 26 Mar 2005 12:09:23 +0100 From: Peter Schuller To: questions@freebsd.org Message-ID: <20050326110921.GH32900@scode-whitestar.mine.nu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.8i Subject: gbde - destroying master key without lockfile X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Mar 2005 11:04:27 -0000 Hello, I would like to use gbde to encrypt some disks. Using an external lockfile things work pretty much as documented (except for some options that aren't supported by the tool, but which are listed in the manpage). However, for this particular situation, I do not want to use an external lockfile. The manpage seems to imply that without -L/-l, the first sector is used as a lockfile. Indeed, I can init, attach and detach devices without an external lockfile. However, when I attempt to destroy the master key: # gbde destroy /dev/label/storage304 Enter passphrase: Opened with key 0 gbde: No -L option and no space in sector 0 for lockfile Trying to use -L for this particular operation fails: gbde: illegal option -- L Usage error: Invalid option And trying to specify "-n -1" as the manpage says also fails: gbde: illegal option -- n Usage error: Invalid option So the question is - how do I destroy the master key (other than dd if=/dev/zero of=...) when not using an external lockfile? (The reason I do not want to use an external lockfile is simply that I do not see a need for it in my situation and I would feel much more comfortable if the gbde volume was self-contained; no need to backup anything else or keep it in synch.) -- / Peter Schuller, InfiDyne Technologies HB PGP userID: 0xE9758B7D or 'Peter Schuller ' Key retrieval: Send an E-Mail to getpgpkey@scode.org E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org