diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2010-11-11 14:53:51 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2010-11-11 16:56:43 +0000 |
commit | d29e9a552f5823d1d8cb8d4962cb1301bbf60b0e (patch) | |
tree | 02e375395b90ebc0f1485e336110defef8422ee2 /tools/Makefile.am | |
parent | 4d900cdac8258daa2e99c6ceb2a4985154e94150 (diff) | |
download | libguestfs-d29e9a552f5823d1d8cb8d4962cb1301bbf60b0e.tar.gz libguestfs-d29e9a552f5823d1d8cb8d4962cb1301bbf60b0e.tar.xz libguestfs-d29e9a552f5823d1d8cb8d4962cb1301bbf60b0e.zip |
Rewrite virt-cat in C.
With changes in the core API since 1.5, virt-cat was little
more than a Perl wrapper which did some command line argument
processing. Thus it could easily be rewritten in C.
This version also shares core command line argument processing
with guestfish and guestmount, so the options have changed
slightly (old-style command line *is* supported).
virt-cat -a disk.img file [file ...]
virt-cat -d domname file [file ...]
Several other guestfish options are supported including encryption,
and with the new style multiple files can be downloaded. See the
man page for details.
Diffstat (limited to 'tools/Makefile.am')
-rw-r--r-- | tools/Makefile.am | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am index 5b415c0e..651daf9b 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -18,7 +18,6 @@ include $(top_srcdir)/subdir-rules.mk tools = \ - cat \ df \ edit \ list-filesystems \ @@ -43,10 +42,10 @@ bin_SCRIPTS = $(tools:%=virt-%) # Manual pages and HTML files for the website. -# XXX Bug in automake? If you list virt-cat.1 explicitly, then it +# XXX Bug in automake? If you list virt-df.1 explicitly, then it # builds and installs the man pages. However if this is removed, # then the man pages are neither built nor installed. -man_MANS = virt-cat.1 $(patsubst %,virt-%.1,$(filter-out cat,$(tools))) +man_MANS = virt-df.1 $(patsubst %,virt-%.1,$(filter-out df,$(tools))) noinst_DATA = $(tools:%=$(top_builddir)/html/virt-%.1.html) @@ -75,8 +74,7 @@ TESTS_ENVIRONMENT = \ LIBGUESTFS_PATH=$(top_builddir)/appliance \ PERL5LIB=$(top_builddir)/perl/blib/lib:$(top_builddir)/perl/blib/arch -TESTS = test-virt-cat.sh \ - test-virt-df.sh \ +TESTS = test-virt-df.sh \ test-virt-list-filesystems.sh \ test-virt-ls.sh \ test-virt-make-fs.sh \ |