Sortix 1.1dev ports manual
This manual documents Sortix 1.1dev ports. You can instead view this document in the latest official manual.
CHROOT(8) | System Manager's Manual | CHROOT(8) |
NAME
chroot — run command with changed root directorySYNOPSIS
chroot | [-d] newroot [command [arguments ...]] |
DESCRIPTION
chroot changes the root directory to newroot and runs command with the given arguments. command defaults to sh(1). The working directory for command is changed to /. The options are as follows:- -d, --devices
- Mount /dev from the host system into the /dev inside newroot. The mountpoint is removed when command completes. This option is useful for running installations.
ENVIRONMENT
The environment is preserved.PATH
is used to
search for command.
EXIT STATUS
chroot will exit 0 on success and non-zero otherwise.SEE ALSO
chroot(2)September 29, 2016 | Debian |