summaryrefslogtreecommitdiffstats
path: root/fish/inspect.c
Commit message (Collapse)AuthorAgeFilesLines
* fish: Use size_t instead of int when counting strings.Richard W.M. Jones2011-11-011-4/+4
|
* valgrind: guestfish -i: free strings before exit.Richard W.M. Jones2011-10-191-0/+2
| | | | This isn't really necessary, but it keeps valgrind happy.
* Coverity: Check guestfs_inspect_get_product_name() != NULL before using.Richard W.M. Jones2011-08-231-1/+1
|
* fish: Add guestfish --live, guestmount --live options.Richard W.M. Jones2011-02-031-0/+6
| | | | | | The other programs have the variable, but the flag is not enabled either because it doesn't make sense or because the implications are not well understood.
* fish: Don't fail if some mountpoints in /etc/fstab are bogus (RHBZ#668574).Richard W.M. Jones2011-01-111-1/+6
| | | | | | | | | | | | | | | | | Fix guestfish (and other C tools) so that they ignore errors when /etc/fstab contains bogus entries. Update the documentation for inspect-get-mountpoints to emphasize that callers must be aware of this when mounting the returned values. Add a regression test. Update the example code ("inspect_vm") to reflect the way this API ought to be called. For more detail see: https://bugzilla.redhat.com/show_bug.cgi?id=668574
* inspector: Rewrite virt-inspector in C.Richard W.M. Jones2010-11-191-5/+9
|
* fish: Fix memory leak in handling of encrypted volumes by -i option.Richard W.M. Jones2010-11-191-0/+1
| | | | | This fixes a memory leak introduced by commit a232e62dcf508517a32b9a8d7e4529e827be721b.
* fish: '-i' option automatically handles whole-disk encryption.Richard W.M. Jones2010-11-051-0/+76
| | | | | | | | | | | This feature is also available in guestmount because of the shared option parsing code. You don't need to do anything to enable it, just using -i will attempt decryption of encrypted partitions. Only works for simple Fedora whole-disk encryption. It's a work-in-progress to make it work for other types of encryption.
* Unify guestfish and guestmount options processing (RHBZ#642932).Richard W.M. Jones2010-10-271-4/+28
| | | | | | | | | | | | | | | In guestfish, factor out the processing of the options -a, -c, -d, -i, -m, -n, -r, -v, -V, -x into a separate set of files: options.c, options.h, inspect.c, virt.c. Change guestmount so that it uses these same files (from the ../fish directory) to process the same options. This unifies the handling of these options between the two programs. It also adds the useful inspection feature to guestmount, so you can now do: guestmount -d Guest -i --ro mnt/
* fish: Reimplement -i option using new C-based inspection.Richard Jones2010-08-171-0/+117
Don't shell out to virt-inspector. Instead, use the new C-based inspection APIs. This is much faster. The new syntax is slightly different: guestfish -a disk.img -i guestfish -d guest -i However, the old syntax still works.