bin/144521: [geom] geom(8) tool parsing non-subclass command broken

Alexander Best arundel at freebsd.org
Mon Sep 20 22:50:03 UTC 2010


The following reply was made to PR bin/144521; it has been noted by GNATS.

From: Alexander Best <arundel at freebsd.org>
To: bug-followup at freebsd.org
Cc:  
Subject: Re: bin/144521: [geom] geom(8) tool parsing non-subclass command broken
Date: Mon, 20 Sep 2010 22:47:11 +0000

 i've thought about this a bit and i think the current semantic is correct.
 
 `geom --help` should in fact return:
 
 usage: geom --help help
        geom --help list [name ...]
        geom --help status [-s] [name ...]
        geom --help load [-v]
        geom --help unload [-v]
 
 the reason is that although '--help' is not a class at the moment there might
 be a '--help.ko' somewhere. using 'geom --help load' one could load that
 module.
 
 the geom manual states that the other commands are only available if the class
 exists.
 
 cheers.
 alex
 
 -- 
 a13x


More information about the freebsd-geom mailing list