]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
a little more chroot help
authorJim Meyering <jim@meyering.net>
Sun, 19 Mar 2000 18:59:24 +0000 (18:59 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 19 Mar 2000 18:59:24 +0000 (18:59 +0000)
doc/sh-utils.texi

index 41ccf52cc1b4c092df30a07bad28ce7b1dcf086d..247212d13f9525ac562d167e2c6e81545d05e1c1 100644 (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