binary: Link guestmount static binary with -lm.
[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>