perl: Add %guestfs_introspection hash with introspection information.
[libguestfs.git] / recipes / squashfs.html
1 <p>
2 You can use squashfs to import large amounts of data
3 into a guest.  First you prepare the squashfs image:
4 </p>
5
6 <pre>
7 /sbin/mksquashfs data <i>[...]</i> data.sqsh
8 </pre>
9
10 <p>
11 and then you can add it to the guest as an extra data
12 drive.  In the example below, we show how to make a
13 squashfs from the contents of some local directory
14 (<code>/usr/share/man/man8</code> in this example)
15 and then make that appear in the guest.
16 </p>
17
18 <p>
19 See also <a href="http://libguestfs.org/virt-tar.1.html">virt-tar</a>
20 and <a href="https://rwmj.wordpress.com/2010/12/02/tip-uploading-and-downloading/#content">Richard
21 Jones's complete list of ways to upload and download files</a>.
22 </p>