Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Aug 2014 17:55:22 -0400
From:      "Michael W. Lucas" <mwlucas@michaelwlucas.com>
To:        current@freebsd.org
Subject:   gbde destroy doesn't match man page?
Message-ID:  <20140820215522.GA92455@bewilderbeast.blackhelicopters.org>

next in thread | raw e-mail | index | archive | help
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@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@michaelwlucas.com, Twitter @mwlauthor 
http://www.MichaelWLucas.com/, http://blather.MichaelWLucas.com/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140820215522.GA92455>