mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
17 lines
432 B
HTML
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>
|