From sam@beeblebrox.rfc1149.net  Sun May  2 00:10:41 2004
Return-Path: <sam@beeblebrox.rfc1149.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id E868516A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  2 May 2004 00:10:41 -0700 (PDT)
Received: from mail.rfc1149.net (marvin.enst.fr [137.194.161.2])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 85EA643D2D
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  2 May 2004 00:10:41 -0700 (PDT)
	(envelope-from sam@beeblebrox.rfc1149.net)
Received: from localhost (localhost [127.0.0.1])
	by mail.rfc1149.net (Postfix) with ESMTP id 2D102A8035
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  2 May 2004 09:10:39 +0200 (CEST)
Received: from mail.rfc1149.net ([127.0.0.1])
	by localhost (marvin [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 05689-09 for <FreeBSD-gnats-submit@freebsd.org>;
	Sun, 2 May 2004 09:10:39 +0200 (CEST)
Received: from beeblebrox.rfc1149.net (beeblebrox-tun.enst.fr [137.194.161.40])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "beeblebrox.rfc1149.net", Issuer "Top-level signer" (verified OK))
	by mail.rfc1149.net (Postfix) with ESMTP id 2A302A8011
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  2 May 2004 09:10:35 +0200 (CEST)
Received: by beeblebrox.rfc1149.net (Postfix, from userid 1000)
	id 04C5A456; Sun,  2 May 2004 09:09:59 +0200 (CEST)
Message-Id: <20040502070959.04C5A456@beeblebrox.rfc1149.net>
Date: Sun,  2 May 2004 09:09:59 +0200 (CEST)
From: Samuel Tardieu <sam@rfc1149.net>
Reply-To: Samuel Tardieu <sam@rfc1149.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: gbde destroy error
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         66162
>Category:       kern
>Synopsis:       [gbde] gbde destroy error
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 02 00:20:20 PDT 2004
>Closed-Date:    
>Last-Modified:  Sat Sep 24 17:44:16 UTC 2011
>Originator:     Samuel Tardieu
>Release:        FreeBSD 5.2.1-RELEASE i386
>Organization:
Avian Carrier & Friends
>Environment:
System: FreeBSD beeblebrox 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #1: Wed Apr 28 10:46:39 CEST 2004 root@beeblebrox:/usr/src/sys.altq/i386/compile/BEEBLEBROX i386

>Description:
	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]
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->phk  
Responsible-Changed-By: csjp 
Responsible-Changed-When: Wed May 5 17:44:32 PDT 2004 
Responsible-Changed-Why:  

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. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=66162 
Responsible-Changed-From-To: phk->freebsd-bugs 
Responsible-Changed-By: eadler 
Responsible-Changed-When: Sat Sep 24 17:44:15 UTC 2011 
Responsible-Changed-Why:  
return to the pool (approved by phk) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=66162 
>Unformatted:
