geom command with nonexistent class

Miroslav Lachman 000.fbsd at quip.cz
Sun May 6 17:56:55 UTC 2007


Hi,

if I try geom command with nonexistent class, geom prints its usage:

root at grimm2 ~/# geom blahblah
usage: geom blahblah help
        geom blahblah list [name ...]
        geom blahblah status [-s] [name ...]
        geom blahblah load [-v]
        geom blahblah unload [-v]

So it leads to confusing typing errors if somebody write bad class name, 
but geom prints it's usage instead of error message.

Is there any chance to fix it or is it "a feature"? Can geom find all 
available classes and print error if command is used with nonexistent one?

(FreeBSD 6.2-RELEASE-p4)

Miroslav Lachman


More information about the freebsd-geom mailing list