From owner-freebsd-current@FreeBSD.ORG Tue Aug 26 03:07:40 2014 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 282E0B69 for ; Tue, 26 Aug 2014 03:07:40 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DDBF43C18 for ; Tue, 26 Aug 2014 03:07:39 +0000 (UTC) Received: from ralph.baldwin.cx (pool-173-70-85-31.nwrknj.fios.verizon.net [173.70.85.31]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id C49F1B986; Mon, 25 Aug 2014 23:07:38 -0400 (EDT) From: John Baldwin To: Poul-Henning Kamp Subject: Re: gbde destroy doesn't match man page? Date: Mon, 25 Aug 2014 16:10:50 -0400 Message-ID: <2945485.ZemF81RAkB@ralph.baldwin.cx> User-Agent: KMail/4.10.5 (FreeBSD/10.0-STABLE; KDE/4.10.5; amd64; ; ) In-Reply-To: <23149.1408789002@critter.freebsd.dk> References: <20140820215522.GA92455@bewilderbeast.blackhelicopters.org> <23149.1408789002@critter.freebsd.dk> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Mon, 25 Aug 2014 23:07:38 -0400 (EDT) Cc: current@freebsd.org, "Michael W. Lucas" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Aug 2014 03:07:40 -0000 On Saturday, August 23, 2014 10:16:42 AM Poul-Henning Kamp wrote: > -------- > In message <20140820215522.GA92455@bewilderbeast.blackhelicopters.org>, > "Michae > l W. Lucas" writes: > >Playing with GBDE for my FreeBSD disk book, on: > > > ># uname -a > >FreeBSD storm 11.0-CURRENT FreeBSD 11.0-CURRENT #6 r269010: Wed Jul 23 > >11:13:17 EDT 2014 mwlucas@storm:/usr/obj/usr/src/sys/GENERIC amd64 > > > >According to the man page, I should be able to destroy all copies of > >the key with gbde destroy -n -1. It's in the examples. When I > > >try it I get: > I think that is an oversight in the code. Can you expand on this? I.e. what should the code do if it is fixed? -- John Baldwin