chroot man page on Xenix

Man page or keyword search:  
man Server   1130 pages
apropos Keyword Search (all sections)
Output format
Xenix logo
[printable version]



     CHROOT(C)		      XENIX System V		     CHROOT(C)

     Name
	  chroot - Changes root directory for command.

     Syntax
	  chroot newroot command

     Description
	  The given command is executed relative to the new root.  The
	  meaning of any initial slashes (/) in pathnames is changed
	  for a command and any of its children to newroot.
	  Furthermore, the initial working directory is newroot.

	  Notice that:

	       chroot newroot command >x

	  creates the file x relative to the original root, not the
	  new one.

	  This command is restricted to the super-user.

	  The new root pathname 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.  Note that it is not possible to change directories
	  to what was formerly the parent of the new root directory;
	  i.e., the chroot command supports the new root as an
	  absolute root for the duration of the command. This means
	  that ``/..'' is always equivalent to ``/''.

     See Also
	  chdir(S)

     Notes
	  Exercise extreme caution when referencing special files in
	  the new root file system.

	  command must be under newroot or command is reported:
	       command: not found

     Page 1					      (printed 8/7/87)

[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server Xenix

List of man pages available for Xenix

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net