gbde destroy doesn't match man page?

Poul-Henning Kamp phk at phk.freebsd.dk
Tue Aug 26 06:23:15 UTC 2014


--------
In message <2945485.ZemF81RAkB at ralph.baldwin.cx>, John Baldwin writes:
>On Saturday, August 23, 2014 10:16:42 AM Poul-Henning Kamp wrote:
>> --------
>> In message <20140820215522.GA92455 at 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 at 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 <device> -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?

Hmm, now that I think about it, -n doesn't make sense because any 
one of the four keys can open the volume as needed to blow away the
masterkey.

The manual page should just be fixed.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-current mailing list