mirror of
git://git.sv.gnu.org/coreutils
synced 2026-06-03 06:20:53 -04:00
a little more chroot help
This commit is contained in:
+6
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user