Bug 66162

Summary: [gbde] gbde destroy error
Product: Base System Reporter: Samuel Tardieu <sam>
Component: kernAssignee: freebsd-geom (Nobody) <geom>
Status: Open ---    
Severity: Affects Only Me CC: lwhsu
Priority: Normal    
Version: 5.2.1-RELEASE   
Hardware: Any   
OS: Any   

Description Samuel Tardieu 2004-05-02 08:20:20 UTC
	gbde destroy doesn't recognize the -n option as advertised

How-To-Repeat: [while testing gbde on a deactivated swap partition]
beeblebrox# gbde destroy ad0s1b -n -1 
gbde: illegal option -- n
Usage error: Invalid option
Usage:
        gbde attach dest [-l lockfile]
        gbde detach dest
        gbde init /dev/dest [-i] [-f filename] [-L lockfile]
        gbde setkey dest [-n key] [-l lockfile] [-L lockfile]
        gbde destroy dest [-n key] [-l lockfile] [-L lockfile]
Comment 1 Christian S.J. Peron freebsd_committer 2004-05-06 01:44:32 UTC
Responsible Changed
From-To: freebsd-bugs->phk


I am going to hand this over to phk as he is the author 
of gbde. 

After looking at the code, it appears that the -n option 
is not supported for the "destroy" operation. There also 
appears to be an un-documented option called "nuke" which 
takes -n as an argument.
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2011-09-24 18:44:15 UTC
Responsible Changed
From-To: phk->freebsd-bugs

return to the pool (approved by phk)
Comment 3 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:00:40 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped