Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Aug 2004 15:27:38 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Valentin Nechayev <netch@lucky.net>
Cc:        current@freebsd.org
Subject:   Re: geom(8) invalid error messages
Message-ID:  <20040827132738.GT30151@darkness.comp.waw.pl>
In-Reply-To: <20040827085129.GA84228@lucky.net>
References:  <20040827085129.GA84228@lucky.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--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_<class>.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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040827132738.GT30151>