kern/144521: geom(1) tool parsing non-subclass command broken

Garrett Cooper gcooper at
Sun Mar 7 04:10:01 UTC 2010

>Number:         144521
>Category:       kern
>Synopsis:       geom(1) tool parsing non-subclass command broken
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 07 04:10:00 UTC 2010
>Originator:     Garrett Cooper
>Release:        RELENG_8 / 9-CURRENT
Cisco Systems, Inc.
FreeBSD bayonetta.localdomain 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009     root at  amd64

FreeBSD bayonetta.localdomain 9.0-CURRENT FreeBSD 9.0-CURRENT #2: Thu Mar  4 13:16:39 PST 2010     gcooper at bayonetta.localdomain:/usr/obj/usr/src/sys/BAYONETTA  amd64

Arguments parsing is broken today when geom is invoked directly (as opposed to gjournal, etc):

[gcooper at bayonetta ~]$ geom load
usage: geom load help
       geom load list [name ...]
       geom load status [-s] [name ...]
       geom load load [-v]
       geom load unload [-v]
[gcooper at bayonetta ~]$ geom unload
usage: geom unload help
       geom unload list [name ...]
       geom unload status [-s] [name ...]
       geom unload load [-v]
       geom unload unload [-v]
[gcooper at bayonetta ~]$ gjournal load
gjournal: Command 'load' not available.

geom unload
Invoke the `subclass' commands like:

gjournal load
gjournal unload



More information about the freebsd-bugs mailing list