Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ chroot(1M) — Interactive 2.2

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cd(1)

chroot(2)



          CHROOT(1M)           INTERACTIVE UNIX System           CHROOT(1M)



          NAME
               chroot - change root directory for a command

          SYNOPSIS
               /etc/chroot newroot command

          DESCRIPTION
               The chroot command causes the given command to be executed
               relative to the new root.  The meaning of any initial
               slashes (/) in the path names is changed for the command and
               any of its child processes to newroot.  Furthermore, upon
               execution, the initial working directory is newroot.

               Notice, however, that if you redirect the output of the com-
               mand to a file:

                    chroot newroot command >x

               will create the file x relative to the original root of the
               command, not the new one.

               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 pro-
               cess.

               This command can be run only by the super-user.

          SEE ALSO
               cd(1).
               chroot(2) in the INTERACTIVE SDS Guide and Programmer's
               Reference Manual.

          BUGS
               One should exercise extreme caution when referencing device
               files in the new root file system.



















          Rev. Base System                                           Page 1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026