doc: Update description of the chroot contents.

* doc/guix.texi (Build Environment Setup): Adjust description of /dev
  and /proc; remove footnote about /dev/shm, now obsolete.
This commit is contained in:
Ludovic Courtès 2014-04-03 23:43:14 +02:00
parent 4b00f3434e
commit 4743a4da9b
1 changed files with 8 additions and 6 deletions

View File

@ -245,12 +245,14 @@ environment contains nothing but:
@c Keep this list in sync with libstore/build.cc! ----------------------- @c Keep this list in sync with libstore/build.cc! -----------------------
@itemize @itemize
@item @item
the @code{/dev} and @code{/proc} directories@footnote{On some systems a minimal @code{/dev} directory, created mostly independently from the
@code{/dev/shm}, which supports shared memory, is a symlink to another host @code{/dev}@footnote{``Mostly'', because while the set of files
directory such as @code{/run/shm}, that is @emph{not} is the chroot. that appear in the chroot's @code{/dev} is fixed, most of these files
When that is the case, shared memory support is unavailable in the can only be created if the host has them.};
chroot environment. The workaround is to make sure that @file{/dev/shm}
is directly a @code{tmpfs} mount point.}; @item
the @code{/proc} directory; it only shows the container's processes
since a separate PID name space is used;
@item @item
@file{/etc/passwd} with an entry for the current user and an entry for @file{/etc/passwd} with an entry for the current user and an entry for