mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-18 11:19:19 +01:00
Technically chroot command "tells" bash nothing. It basically calls chroot("$LFS"), then chdir("/"), then execve(["/usr/bin/env", "-i", ...]). The kernel also does not tell bash something like "hey, the root is now $LFS" but just executes (almost) all system calls from bash as-if $LFS is /. The man page of chroot says: DESCRIPTION Run COMMAND with root directory set to NEWROOT. Just use the same grammar construction here. |
||
---|---|---|
.. | ||
bison.xml | ||
changingowner.xml | ||
chapter07.xml | ||
chroot.xml | ||
cleanup.xml | ||
createfiles.xml | ||
creatingdirs.xml | ||
gettext.xml | ||
introduction.xml | ||
kernfs.xml | ||
perl.xml | ||
python.xml | ||
texinfo.xml | ||
util-linux.xml |