wrong help screen

This commit is contained in:
Thomas von Dein
2020-11-30 19:28:41 +01:00
parent 29e51de9bd
commit 3840643ec6

View File

@@ -41,7 +41,7 @@ As can be easily deduced this is a database jail with the following layers:
2. **tmp layer**: Just a ramdisk for `/tmp`, the size can be tuned. 2. **tmp layer**: Just a ramdisk for `/tmp`, the size can be tuned.
3. **dev layer**: Contains /dev/null and friends, required by every jail. 3. **dev layer**: Contains /dev/null and friends, required by every jail.
4. **log layer**: Here we have our first versioned layer for 4. **log layer**: Here we have our first versioned layer for
`/var/log`. Notise how all other layers are using the same version, `/var/log`. Notice how all other layers are using the same version,
this is done by purpose (but can be changed if you like). The this is done by purpose (but can be changed if you like). The
version is a jail variable (see below) which is being used for all version is a jail variable (see below) which is being used for all
layers. layers.
@@ -51,10 +51,10 @@ As can be easily deduced this is a database jail with the following layers:
mysql server software, bash and a couple of supporting mysql server software, bash and a couple of supporting
utilities. It is being mounted read-only, so no new software can be utilities. It is being mounted read-only, so no new software can be
installed in the running jail. This might sound annoying at first, installed in the running jail. This might sound annoying at first,
because you can't just install stuff inside the jail anytime. But because you can't just install stuff inside the jail anytime you
it forces you to work more disciplined. Once a jail has been like. But it forces you to work more disciplined. Once a jail has
completely built you can be sure, all components match with each been completely built you can be sure, all components match with
other. Read below how to install or update software in a jail. each other. Read below how to install or update software in a jail.
6. **/etc layer**: this just contains the normal etc, it is basically 6. **/etc layer**: this just contains the normal etc, it is basically
a stripped copy of the host `/etc`. We do not use it at all inside a stripped copy of the host `/etc`. We do not use it at all inside
a jail, but it's required nontheless. There are some exceptions a jail, but it's required nontheless. There are some exceptions
@@ -112,37 +112,38 @@ handy wrappers to make live easier.
For an overview of the provided commands, here's the usage screen: For an overview of the provided commands, here's the usage screen:
``` ```
Usage: jaildk <command> <mode-args> Usage: /usr/local/bin/jaildk <command> <mode-args>
Building Jails: Building Jails:
base - build a new base base -b <name> [-w] - build a new base
build - install a build chroot of a jail build <jail> <mode> [-b <base>] [-v <version>] - install a build chroot of a jail
create - create a new jail from a template create - create a new jail from a template
clone - clone an existing jail or jail version clone -s <src> -d <dst> [-o <v>] [-n <v>] - clone an existing jail or jail version
fetch - fetch current port collection fetch - fetch current port collection
Installing Jails: Installing Jails:
install - install a jail (prepare mounts, devfs etc) install <jail> <mode> [-r function] - install a jail (prepare mounts, devfs etc)
uninstall - uninstall a jail uninstall <jail> [-w] - uninstall a jail
remove - remove a jail or a jail version remove <jail> - remove a jail or a jail version
reinstall - stop, remove, install and start a jail reinstall <jail> - stop, remove, install and start a jail
Maintaining Jails: Maintaining Jails:
start - start a jail start <jail> - start a jail
stop - stop a jail stop <jail> - stop a jail
restart - restart a jail restart <jail> - restart a jail
status - display a jail's status status [<jail>] - display a jail's status
rc - execute an rc-script inside a jail rc <jail> <mode> [-r <rc.d script>] - execute an rc-script inside a jail
Managing Jails: Managing Jails:
login - login into a jail (also available as separate command) login <jail> [<user>] - login into a jail
blogin - chroot into a build jail (dito) blogin <jail> - chroot into a build jail
Transferring Jails: Transferring Jails:
freeze - freeze (build an image of) a jail freeze <jail> [-a -b -v <version>] - freeze (build an image of) a jail
thaw - thaw (install) an image of a jail somewhere else thaw <image> - thaw (install) an image of a jail
Run the <command> without arguments to get usage help about the command. Getting help:
help <command> - request help on <command>
``` ```
## Installation ## Installation