summaryrefslogtreecommitdiffstats
path: root/cat
Commit message (Collapse)AuthorAgeFilesLines
* Add /etc/libguestfs-tools.conf configuration file.Richard W.M. Jones2011-03-311-4/+11
| | | | | This allows the default for --ro or --rw to be controlled for the three tools guestfish, guestmount and virt-rescue.
* Include <locale.h> in compilation units that use setlocale function.Richard W.M. Jones2011-03-073-0/+3
| | | | Fix required by gcc 4.6.0.
* fish: Add guestfish --live, guestmount --live options.Richard W.M. Jones2011-02-033-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.
* virt-filesystems: Ignore errors when getting label and UUID (RHBZ#668112).Richard W.M. Jones2011-01-081-6/+29
| | | | | | | | | | | If virt-filesystems was pointed to an image that contained bogus or blank filesystems, then calls to vfs-label and/or vfs-uuid could fail, resulting in errors like this: libguestfs: error: vfs_label: /dev/vda1: These errors can be ignored and shouldn't stop virt-filesystems from working.
* New tools: virt-copy-in, virt-copy-out, virt-tar-in, virt-tar-out.Richard W.M. Jones2011-01-031-0/+2
| | | | | Relatively trivial wrappers around the equivalent guestfish commands. Change also includes new man pages.
* filesystems: Document the columns in --long output.Richard W.M. Jones2011-01-021-0/+54
|
* Remove several unused local variables.Richard W.M. Jones2010-12-101-1/+0
| | | | (Revealed by compiling under Debian where this is a warning).
* cat: Remove some unused local variables in virt-cat.c and virt-ls.c.Richard W.M. Jones2010-12-092-4/+0
|
* Remove ability to build static distribution.Richard W.M. Jones2010-12-061-14/+0
| | | | | | We are now going to build binaries for each distribution so there is no need to build the quasi-distro-independent static binaries any more.
* docs: Fix typo in virt-filesystems(1).Richard W.M. Jones2010-11-271-1/+1
|
* docs: Remove ref to L</add-drive-opts> wrongly copied into some man pages.Richard W.M. Jones2010-11-273-6/+3
|
* build: Centralize all POD manipulation in 'podwrapper.sh' script.Richard W.M. Jones2010-11-241-44/+28
|
* filesystems: Fix command synopsis in usage message.Richard W.M. Jones2010-11-231-2/+2
| | | | This updates commit fbc2555903be8c88ad9430d871cf0d27c8fded1e.
* New tool: virt-filesystemsRichard W.M. Jones2010-11-235-4/+1346
| | | | | | | | This tool replaces virt-list-filesystems and virt-list-partitions with a new tool written in C with a more uniform command line structure and output. This existing Perl tools are deprecated but remain indefinitely.
* ls: Rewrite virt-ls in C.Richard W.M. Jones2010-11-235-7/+685
|
* cat: Fix documentation of -x option in usage.Richard W.M. Jones2010-11-221-1/+1
| | | | This updates commit d29e9a552f5823d1d8cb8d4962cb1301bbf60b0e.
* cat: Continue after encountering an error.Richard W.M. Jones2010-11-221-2/+4
|
* cat: Fix documentation for command line with format option.Richard W.M. Jones2010-11-221-2/+2
|
* cat: Fix run-cat-locally script so it doesn't go via Perl.Richard W.M. Jones2010-11-191-1/+1
|
* cat: Give a better error if the user specified no drives on command line.Richard W.M. Jones2010-11-191-0/+4
|
* cat: Tidy up documentation for --format option.Richard W.M. Jones2010-11-191-1/+3
|
* static: Use correct libraries for static binaries.Richard W.M. Jones2010-11-131-0/+6
| | | | Also add virt-cat.static target.
* Rewrite virt-cat in C.Richard W.M. Jones2010-11-115-0/+590
| | | | | | | | | | | | | | | | | 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.
* Move virt tools (virt-cat, virt-edit etc) into tools/ subdirectory.Richard Jones2009-10-193-291/+0
| | | | | | | | | | | | | | | | | | This moves the tool programs into a single directory: cat/* -> tools/virt-cat df/* -> tools/virt-df edit/* -> tools/virt-edit rescue/* -> tools/virt-rescue This in itself simplifies the build process because we only need one Makefile and one copy of 'run-locally'. 'run-*-locally' has become just 'run-locally' and takes an extra parameter which is the name of the tool, eg: run-locally cat [virt-cat params...] virt-inspector stays in its own directory, because this contains more than just a single Perl script.
* run-*-locally: The programs are now virt-[tool], not virt-[tool].plRichard Jones2009-10-011-1/+1
| | | | This fixes commit b488436cc54288fcae8988493749f2e6c87f274c.
* Include virt tools in EXTRA_DIST.Richard Jones2009-09-231-1/+2
| | | | | | Partially revert b488436cc54288fcae8988493749f2e6c87f274c. It turns out that automake doesn't automatically place bin_SCRIPTS in EXTRA_DIST.
* Rename virt-[tool].pl as virt-[tool]Richard Jones2009-09-232-8/+4
|
* Check return value from readlink.Richard Jones2009-09-231-1/+1
|
* Create manpage atomically.Richard Jones2009-09-231-1/+1
| | | | Don't fail with a partial file if disk full, etc.
* Replace @...@ with $(...) in these common Makefile.am files.Richard Jones2009-09-231-4/+4
|
* New tool: virt-editRichard Jones2009-09-231-2/+4
| | | | | | | | | | | | | Edit any file in a guest. This was possibly previously using guestfish, but having a separate command makes it simpler. The usage is simply: virt-edit mydomain /some/file It runs $EDITOR or vi on the file, and if the user changes it, uploads the result back to the VM.
* virt-cat: Remove some unused Perl module includes.Richard Jones2009-09-231-3/+0
|
* Remove guestfs_wait_ready (turn it into a no-op).Richard Jones2009-09-211-1/+0
| | | | | | | | | | | | | | This commit changes guestfs_launch so that it both launches the appliance and waits until it is ready (ie. the daemon communicates back to us). Since we removed the pretence that we could implement a low-level asynchronous API, the need to call launch() followed by wait_ready() has looked a bit silly. Now guestfs_wait_ready() is basically a no-op. It is left in the API for backwards compatibility. Any calls to guestfs_wait_ready() can be removed from client code.
* Convert all TABs-as-indentation to spaces.Jim Meyering2009-08-031-2/+2
| | | | | | | | | | | Do it by running this command: [exempted files are matched via .x-sc_TAB_in_indentation] git ls-files \ | pcregrep -vf .x-sc_TAB_in_indentation \ | xargs pcregrep -l '^ *\t' \ | xargs perl -MText::Tabs -ni -le \ '$m=/^( *\t[ \t]*)(.*)/; print $m ? expand($1) . $2 : $_'
* cat: Example of finding DHCP IP address of a VM.Richard Jones2009-07-171-0/+4
|
* New tool virt-cat: display a file in a virtual machine.Richard Jones2009-07-153-0/+292
This script is just a simpler way to cat a file from a VM. It is otherwise equivalent to using guestfish. virt-cat someguest /etc/fstab virt-cat someguest /var/log/messages | tail