summaryrefslogtreecommitdiffstats
path: root/fish/inspect.c
Commit message (Collapse)AuthorAgeFilesLines
* 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.