Runs command with root directory set to newroot.
Syntax
- chroot NEWROOT [COMMAND...]
Example:
$ ls -l /bin/ls
lrwxrwxrwx 1 root root 12 Apr 13 00:46 /bin/ls -> /BusyBox
# mount /dev/hdc1 /mnt -t minix
# chroot /mnt
# ls -l /bin/ls
-rwxr-xr-x 1 root root 40816 Feb 5 07:45 /bin/ls*
See also Acronis Linux Commands.