From owner-freebsd-geom@FreeBSD.ORG Sun May 6 17:56:55 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 97AA516A400 for ; Sun, 6 May 2007 17:56:55 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [82.208.36.70]) by mx1.freebsd.org (Postfix) with ESMTP id 5B51413C4C6 for ; Sun, 6 May 2007 17:56:55 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 4564019E02A for ; Sun, 6 May 2007 19:38:30 +0200 (CEST) Received: from [192.168.1.2] (grimm.quip.cz [213.220.192.218]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTP id 6B33A19E027 for ; Sun, 6 May 2007 19:38:27 +0200 (CEST) Message-ID: <463E1296.5060506@quip.cz> Date: Sun, 06 May 2007 19:38:30 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cz, cs, en, en-us MIME-Version: 1.0 To: freebsd-geom@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: geom command with nonexistent class X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 May 2007 17:56:55 -0000 Hi, if I try geom command with nonexistent class, geom prints its usage: root@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