Re: a couple of iocage questions

From: James B. Byrne via freebsd-questions <freebsd-questions_at_freebsd.org>
Date: Wed, 15 Dec 2021 20:36:05 UTC

On Sun, December 12, 2021 01:56, Doug Denault wrote:
> I have a few iocage questions. I'm here because there does not appear to be a
> mailing list for iocage. My first problem: there are commands not documented in
> the latest versions of the docs that I can find, e.g.
>
>    iocage destroy -r release-name
>
> works but is not documented anywhere (I have found) other than people talking
> about issues with the command. So question #1: How to find a full list of
> command options? And maybe commands?? Other than RTFS
>

iocage --help
Usage: iocage [OPTIONS] COMMAND [ARGS]...

  A jail manager.

Options:
  -v, --version  Display iocage's version and exit.
  -f, --force    Allow iocage to rename datasets.
  -D, --debug    Log debug output to the console.
  --help         Show this message and exit.

Commands:
  activate    Set a zpool active for iocage usage.
  chroot      Chroot to a jail.
  . . .

iocage destroy --help
Usage: iocage destroy [OPTIONS] [JAILS]...

  Destroy specified jail(s).

Options:
  -f, --force      Destroy the jail without warnings or more user input.
  -r, --release    Destroy a specified RELEASE dataset.
  -R, --recursive  Bypass the children prompt, best used with --force (-f).
  -d, --download   Destroy the download dataset of the specified RELEASE as
                   well.

  --help           Show this message and exit.

HTH


-- 
***          e-Mail is NOT a SECURE channel          ***
        Do NOT transmit sensitive data via e-Mail
   Unencrypted messages have no legal claim to privacy
 Do NOT open attachments nor follow links sent by e-Mail

James B. Byrne                mailto:ByrneJB@Harte-Lyne.ca
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3