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. +> +> # gstripe unload +> root_at_moiva:~>> +> # +> root_at_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. -- Pawel Jakub Dawidek http://www.FreeBSD.org pjd_at_FreeBSD.org http://garage.freebsd.pl FreeBSD committer Am I Evil? Yes, I Am!
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:08 UTC