Bug 66162 - [gbde] gbde destroy error
Summary: [gbde] gbde destroy error
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 5.2.1-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-geom (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-02 08:20 UTC by Samuel Tardieu
Modified: 2020-10-28 06:01 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 freebsd_triage 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