From owner-freebsd-current@FreeBSD.ORG Fri Aug 27 13:27:40 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0DD8F16A4CE for ; Fri, 27 Aug 2004 13:27:40 +0000 (GMT) Received: from darkness.comp.waw.pl (darkness.comp.waw.pl [195.117.238.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id ACFB243D70 for ; Fri, 27 Aug 2004 13:27:39 +0000 (GMT) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id A0BFDACAFE; Fri, 27 Aug 2004 15:27:38 +0200 (CEST) Date: Fri, 27 Aug 2004 15:27:38 +0200 From: Pawel Jakub Dawidek To: Valentin Nechayev Message-ID: <20040827132738.GT30151@darkness.comp.waw.pl> References: <20040827085129.GA84228@lucky.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pLlCf/bEWtYPubJE" Content-Disposition: inline In-Reply-To: <20040827085129.GA84228@lucky.net> User-Agent: Mutt/1.4.2i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 5.2.1-RC2 i386 cc: current@freebsd.org Subject: Re: geom(8) invalid error messages X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Aug 2004 13:27:40 -0000 --pLlCf/bEWtYPubJE Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 27, 2004 at 11:51:29AM +0300, Valentin Nechayev wrote: +> gstripe, gconcat, etc. says 'unknown command' for an action invalid +> in current environment. +> RELENG_5 of Aug, 20. +>=20 +> # gstripe unload +> root@moiva:~>> +> # +> root@moiva:~>> +> # gstripe unload +> Unknown command: unload Yes, geom(8) utility works this way. There are 3 standard command: load, list and unload. If any of those command is not avilable, it will not be listed in help and you get 'unknown command' error message. 'load' command is available if kernel module related to the given class is not already loaded and there is geom_.ko file in directories listed in kern.module_path sysctl. 'unload' command is available when kernel module related to the given class is loaded. 'list' command is available when kernel module related to the given class is loaded. Hmm, I should probably inform that command is unavailable instead of it is unknown. --=20 Pawel Jakub Dawidek http://www.FreeBSD.org pjd@FreeBSD.org http://garage.freebsd.pl FreeBSD committer Am I Evil? Yes, I Am! --pLlCf/bEWtYPubJE Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBLzbKForvXbEpPzQRAsgFAKDpgBehCkz6iOJAY4JhMRQKzwYQbgCfZ0g1 L8yIrk061p/fT5KhhwfLDmA= =SikR -----END PGP SIGNATURE----- --pLlCf/bEWtYPubJE--