September 2000
Beginner
1312 pages
33h 47m
English
/usr/sbin/chroot newroot command
Use the chroot command to execute command relative to newroot. The meaning of any initial slashes (/) in the path names is changed to newroot for command and any of its child processes. On execution, the initial working directory is newroot.
Notice that redirecting the output of command to a file creates the file x relative to the original root of the command, not the new one.
chroot newroot command > x
The new root path name is always relative to the current root. Even if a chroot is currently in effect, the newroot argument is relative to the current root of the running process.
Only superuser can run this command.
Note
Exercise extreme caution when referencing device files in the new ...