[Pkg-uml-commit] r112 - trunk/src/rootstrap
Mattia Dongili
malattia at costa.debian.org
Sun May 28 15:58:59 UTC 2006
Author: malattia
Date: 2006-05-28 15:58:58 +0000 (Sun, 28 May 2006)
New Revision: 112
Modified:
trunk/src/rootstrap/rootstrap.sgml
Log:
a shorter and concise description of the CONFIG_HOSTFS=y requirement
Modified: trunk/src/rootstrap/rootstrap.sgml
===================================================================
--- trunk/src/rootstrap/rootstrap.sgml 2006-05-27 21:42:03 UTC (rev 111)
+++ trunk/src/rootstrap/rootstrap.sgml 2006-05-28 15:58:58 UTC (rev 112)
@@ -79,6 +79,11 @@
configuration tasks.
</para>
+ <para>
+ Note: since roostrap needs access to the host filesystem it needs an UML
+ kernel with hostfs built-in (CONFIG_HOSTFS=y), not as module.
+ </para>
+
</refsect1>
<refsect1>
<title>OPTIONS</title>
@@ -404,40 +409,6 @@
rootstrap is run is available as $WORKDIR. The environment is
generated from the configuration file as described above.
</para>
-
- <para>
- Since you launch rootstrap and you invoke <command>linux</command>
- command, you need to use the $TARGET on the host filesystem.
- This means that <command>linux</command> needs a shared filesystem to
- work with and to create the final result, the filesystem image itself.
- </para>
-
- <para>
- This is indeed the case of the /tmp/, /tmp/host, /tmp/target ($TARGET)
- as well as /etc/rootstrap ($WORKDIR) in case you need to read the
- system wide rootstrap.conf. These directories are needed by the
- <command>builder</command> python script invoked by rootstrap
- (init=/usr/lib/rootstrap/builder).
- </para>
-
- <para>
- User Mode Linux kernel, <command>linux</command>, is allowed to share
- the host filesystem, once is mounted as hostfs in its /etc/fstab, thus
- the rootstrap idea of building a filesystem image is mainly based on
- this feature. This means that you can share the host resources and
- build filesystem on it, as well as to share host binaries to perform
- whatever task you may need.
- </para>
-
- <para>
- If you would like to have the hostfs support for you
- <command>linux</command> or at least for the filesystem creation with
- rootstrap, you need to configure the CONFIG_HOSTFS=y, then to compile
- the UML guest kernel in order to include this feature. In particular it
- is recommended to set it as included in the <command>linux</command>
- file, not as module because it is required during the rootstrap launch,
- and not included in the following modules copy on the guest filesystem.
- </para>
</refsect2>
</refsect1>
More information about the Pkg-uml-commit
mailing list