Query: chroot
OS: hpux
Section: 1m
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
chroot(1M) chroot(1M)NAMEchroot - change root directory for a commandSYNOPSISnewroot commandDESCRIPTIONThe command executes command relative to the newroot. The meaning of any initial slashes in path names is changed for command and any of its children to newroot. Furthermore, the initial working directory is newroot. Note that command suffixes that affect input or output for the command use the original root, not the new root. For example, the command: locates file relative to the original root, not the new one. The command variable includes both the command name and any arguments. The new root path name is always relative to the current root. Even if a is currently in effect, the newroot argument is relative to the current root of the running process. This command is restricted to users with appropriate privileges.EXTERNAL INFLUENCESInternational Code Set Support Single- and multibyte character code sets are supported.WARNINGScommand cannot be in a shell script. Exercise extreme caution when referring to special files in the new root file system. does not search the environment variable for the location of command, so the absolute path name of command must be given. When using to establish a new environment, all absolute path name references to the file system are lost, rendering shared libraries inac- cessible. If continued access to shared libraries is needed for correct operation, the shared libraries and the dynamic loader be copied into the new root environment.SEE ALSOchdir(2), chroot(2).STANDARDS CONFORMANCEchroot(1M)
Related Man Pages |
---|
switch_root(8) - centos |
adt-virt-chroot(1) - debian |
chroot(2) - hpux |
switch_root(8) - suse |
chroot(8) - osx |
Similar Topics in the Unix Linux Community |
---|
Trace connections |
handling with grep |
Advice on HP-UX system backups |
Script for running root based C++ code |
Source path |