Files
libguestfs/recipes/squashfs.html
Richard W.M. Jones 5abae435f0 Squashfs recipe.
2009-05-29 16:12:51 +01:00

17 lines
432 B
HTML

<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>