bin/78131: gbde "destroy" not working.

Stefan `Sec` Zehl sec at
Sat Feb 26 22:40:15 GMT 2005

>Number:         78131
>Category:       bin
>Synopsis:       gbde "destroy" not working.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 26 22:40:14 GMT 2005
>Originator:     Stefan `Sec` Zehl
>Release:        FreeBSD 5.3-STABLE i386
System: FreeBSD elvis 5.3-STABLE FreeBSD 5.3-STABLE #3: Fri Jan 28 12:50:59 CET 2005     root at elvis:/usr/obj/usr/src/sys/ELVIS  i386


"gbde destroy" does not work if you keep the lock-sector on the disk.


# Create gbde

elvis:~#gbde init /dev/da1s1a
Enter new passphrase:
Reenter new passphrase:

# Try to destroy it

elvis:~#gbde destroy /dev/da1s1a
Enter passphrase:
Opened with key 0
gbde: No -L option and no space in sector 0 for lockfile

# I can still attach it

elvis:~#gbde attach /dev/da1s1a;l /dev/da1s1a.bde
Enter passphrase:
crw-r-----  1 root  operator    4,  55 Jan 28 15:16 /dev/da1s1a.bde




More information about the freebsd-bugs mailing list