2013-06-14 16:55:25 +00:00
|
|
|
.TH CHROOT 1 sbase\-VERSION
|
|
|
|
.SH NAME
|
|
|
|
chroot \- invoke a command with a different root directory
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.B chroot
|
|
|
|
.IR dir
|
|
|
|
.RI [ command
|
|
|
|
.RI [ arg ...]]
|
|
|
|
|
|
|
|
.SH DESCRIPTION
|
|
|
|
.B chroot
|
2013-07-20 05:27:42 +00:00
|
|
|
runs
|
2013-06-14 16:55:25 +00:00
|
|
|
.IR command
|
2013-07-20 05:27:42 +00:00
|
|
|
after changing the root directory to
|
2013-06-14 16:55:25 +00:00
|
|
|
.IR dir
|
|
|
|
with the
|
|
|
|
.B chroot
|
|
|
|
system call, and changing the working directory to the new root.
|
|
|
|
|
2013-07-20 05:27:42 +00:00
|
|
|
If
|
2013-06-14 16:55:25 +00:00
|
|
|
.IR command
|
|
|
|
is not specified, an interactive shell is started in the new root.
|
|
|
|
|
|
|
|
.SH SEE ALSO
|
|
|
|
.IR chroot (2)
|
|
|
|
.IR chdir (2)
|