summaryrefslogtreecommitdiffstats
path: root/recipes/squashfs.html
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2009-05-29 16:12:51 +0100
committerRichard W.M. Jones <rjones@redhat.com>2009-05-29 16:12:51 +0100
commit5abae435f0cb239b70878968e040d61a6730b897 (patch)
treeb133279e7be6ce161267f458c65a8bec5f1243d8 /recipes/squashfs.html
parentafa6f05e2e0d784250ab6408ff13152920d74495 (diff)
downloadlibguestfs-5abae435f0cb239b70878968e040d61a6730b897.tar.gz
libguestfs-5abae435f0cb239b70878968e040d61a6730b897.tar.xz
libguestfs-5abae435f0cb239b70878968e040d61a6730b897.zip
Squashfs recipe.
Diffstat (limited to 'recipes/squashfs.html')
-rw-r--r--recipes/squashfs.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes/squashfs.html b/recipes/squashfs.html
new file mode 100644
index 00000000..6b989a01
--- /dev/null
+++ b/recipes/squashfs.html
@@ -0,0 +1,16 @@
+<p>
+You can use squashfs to import large amounts of data
+into a guest. First you prepare the squashfs image:
+</p>
+
+<pre>
+/sbin/mksquashfs data <i>[...]</i> data.sqsh
+</pre>
+
+<p>
+and then you can add it to the guest as an extra data
+drive. In the example below, we show how to make a
+squashfs from the contents of some local directory
+(<code>/usr/share/man/man8</code> in this example)
+and then make that appear in the guest.
+</p>