a little more chroot help

This commit is contained in:
Jim Meyering
2000-03-19 18:59:24 +00:00
parent 5cb40b6726
commit fc6d3b5995
+6 -1
View File
@@ -2804,7 +2804,12 @@ total 1023
-rwxr-xr-x 1 0 0 1041745 Aug 16 11:17 ls
@end example
@c FIXME: add a more complex example
If you want to use a dynamically linked executable, say @code{bash},
then first run @samp{ldd bash} to see what shared objects it needs.
In addition to copying the actual binary, also copy the listed
files to the required positions under your intended new root directory.
Finally, if the executable requires any other files (e.g., data, state,
device files), copy them into place, too.
@node env invocation