chroot.1
来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 1 代码 · 共 44 行
1
44 行
.TH chroot 1.SH Namechroot \- change root directory for a command.SH Syntax.B /usr/etc/chroot.I "newroot command".SH Description.NXr "root directory change".NXM "root directory" "chroot command"The .PN chrootcommand is executedrelative to the .IR "new root" .The meaning of any initial slashes.RB ( / )in path names is changed for a command and any of its children to.IR newroot .Furthermore, the initial working directory is.IR newroot ..PPThe new root path name is always relative to the current root: even if a.PN chrootis currently in effect, the.I newrootargument is relative to the current root of therunning process..SH RestrictionsThis command is restricted to the super-user..PPUse extreme caution when referencing special filesin the new root file system..SH ExamplesThe following example will create the file.B xrelative to the original root, not the new one..sp.RS%\fBchroot \|\fInewroot \|command\fP \|>x\fR.RE.SH See Alsochdir(2)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?