schroot --version (return code: 0)
schroot (Debian sbuild) 1.6.10 (04 May 2014)
Written by Roger Leigh
Copyright © 2004–2012 Roger Leigh
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Configured features:
PAM Pluggable Authentication Modules
PERSONALITY Linux kernel Application Binary Interface switching
UNION Support for filesystem unioning
Available chroot types:
BLOCKDEV Support for ‘block-device’ chroots
BTRFSSNAP Support for ‘btrfs-snapshot’ chroots
CUSTOM Support for ‘custom’ chroots
DIRECTORY Support for ‘directory’ chroots
FILE Support for ‘file’ chroots
LOOPBACK Support for ‘loopback’ chroots
LVMSNAP Support for ‘lvm-snapshot’ chroots
PLAIN Support for ‘plain’ chroots
schroot --help (return code: 0)
Usage:
schroot [OPTION…] [COMMAND] — run command or shell in a chroot
Actions:
-h [ --help ] Show help options
-V [ --version ] Print version information
-l [ --list ] List available chroots
-i [ --info ] Show information about selected chroots
--config Dump configuration of selected chroots
--location Print location of selected chroots
General options:
-q [ --quiet ] Show less output
-v [ --verbose ] Show more output
Chroot selection:
-c [ --chroot ] arg Use specified chroot
-a [ --all ] Select all chroots and active sessions
--all-chroots Select all chroots
--all-sessions Select all active sessions
--all-source-chroots Select all source chroots
--exclude-aliases Do not include aliases
Chroot environment:
-d [ --directory ] arg Directory to use
-s [ --shell ] arg Shell to use as login shell
-u [ --user ] arg Username (default current user)
-p [ --preserve-environment ] Preserve user environment
-o [ --option ] arg Set option
Session actions:
--automatic-session Begin, run and end a session automatically
(default)
-b [ --begin-session ] Begin a session; returns a session ID
--recover-session Recover an existing session
-r [ --run-session ] Run an existing session
-e [ --end-session ] End an existing session
Session options:
-n [ --session-name ] arg Session name (defaults to an automatically
generated name)
-f [ --force ] Force operation, even if it fails