Manpages

NAME

dchroot − Execute a command under a different root filesystem.

SYNOPSIS

dchroot [OPTION...] [COMMAND]

DESCRIPTION

Execute COMMAND under a different root filesystem, or if no command is given invoke a shell.

−a

Execute in all known chroots.

−c newroot

Execute in specified chroot.

−l

List available chroots.

−d

In chroot, preserve envrionment. New shell is not a login shell.

−q

Be quiet.

−h

Print help message.

−V

Print program version.

CONFIGURATION

dchroot reads the configuration file /etc/dchroot.conf to determine valid chroots on the system. Input lines in /etc/dchroot.conf consist of an identifier and a path separated by whitespace. If more than one input line is present the first is taken to be the default chroot. For example:

testing /chroots/testing

stable

/chroots/stable

The configuration above enables a default chroot called ’testing’ located at /chroots/testing and also a chroot called ’stable’ located at /chroots/stable.