Chroot

来自 ChinaUnix Wiki

Linux命令:chroot

功能说明:改变根目录。
语  法:chroot [--help][--version][目的目录][执行指令...]
补充说明:把根目录换成指定的目的目录。
参  数:
--help  在线帮助。
--version  显示版本信息。

英文版本,欢迎翻译:

NAME chroot - run command or interactive shell with special root directory

SYNOPSIS chroot [OPTION] NEWROOT [COMMAND...] chroot OPTION

DESCRIPTION Run COMMAND with root directory set to NEWROOT.

--help display this help and exit

--version output version information and exit

If no command is given, run ``$ -i' (default: /bin/sh).

AUTHOR Written by Roland McGrath.

REPORTING BUGS Report bugs to <bug-sh-utils@gnu.org>.

COPYRIGHT Copyright ?1999 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MER? CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

SEE ALSO The full documentation for chroot is maintained as a Texinfo manual. If the info and chroot programs are properly installed at your site, the command

info chroot

should give you access to the complete manual.

GNU sh-utils 2.0 January 2001 1

个主工具