From fc6d3b5995be9d3aeea00496fa65ad048f55e33d Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 19 Mar 2000 18:59:24 +0000 Subject: a little more chroot help --- doc/sh-utils.texi | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/sh-utils.texi b/doc/sh-utils.texi index 41ccf52cc..247212d13 100644 --- a/doc/sh-utils.texi +++ b/doc/sh-utils.texi @@ -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 -- cgit v1.2.3-54-g00ecf