gbde destroy doesn't match man page?

Michael W. Lucas mwlucas at
Wed Aug 20 21:55:27 UTC 2014


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?

Michael W. Lucas  -  mwlucas at, Twitter @mwlauthor,

More information about the freebsd-current mailing list