gbde destroy doesn't match man page?

From: Michael W. Lucas <mwlucas_at_michaelwlucas.com>
Date: Wed, 20 Aug 2014 17:55:22 -0400
Hi,

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:

# gbde destroy da0p1 -n -1
gbde: illegal option -- n
usage: gbde attach destination [-k keyfile] [-l lockfile] [-p pass-phrase]
       gbde detach destination
       gbde init destination [-i] [-f filename] [-K new-keyfile]
            [-L new-lockfile] [-P new-pass-phrase]
       gbde setkey destination [-n key]
            [-k keyfile] [-l lockfile] [-p pass-phrase]
            [-K new-keyfile] [-L new-lockfile] [-P new-pass-phrase]
       gbde nuke destination [-n key]
            [-k keyfile] [-l lockfile] [-p pass-phrase]
       gbde destroy destination [-k keyfile] [-l lockfile] [-p pass-phrase]


Anyone know if this is a software bug or a doc bug?

Thanks,
==ml
-- 
Michael W. Lucas  -  mwlucas_at_michaelwlucas.com, Twitter _at_mwlauthor 
http://www.MichaelWLucas.com/, http://blather.MichaelWLucas.com/
Received on Wed Aug 20 2014 - 19:55:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:51 UTC