Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fish: Rename fish/virt.c to fish/domain.c | Richard W.M. Jones | 2012-08-05 | 1 | -2/+2 |
| | | | | | | This file handles the -d option for guestfish and other C command line utilities. Renaming this file makes it less confusing. (cherry picked from commit 6054051a9d8a5eee4141ca4b12aa5b7d1f36f56d) | ||||
* | build: Change calls to podwrapper.sh to use $(PODWRAPPER). | Richard W.M. Jones | 2012-08-05 | 1 | -3/+3 |
| | | | | | | This will allow us to easily change the location of this script in future. (cherry picked from commit f2ea617e224cd82496e56a41b5878063d6f02e3d) | ||||
* | virt-ls: Don't initialize path = NULL. | Richard W.M. Jones | 2012-05-17 | 1 | -1/+1 |
| | |||||
* | virt-ls: Fix --checksum option (RHBZ#822490). | Richard W.M. Jones | 2012-05-17 | 1 | -1/+2 |
| | |||||
* | filesystems: Implement parents of MD and VG devices (RHBZ#805070). | Richard W.M. Jones | 2012-03-21 | 1 | -16/+223 |
| | |||||
* | filesystems: Allow the parents column to contain multiple parents. | Richard W.M. Jones | 2012-03-20 | 2 | -16/+65 |
| | | | | | | A list of parents is passed for this column. This column is rendered as an (internally) comma-separated list. | ||||
* | Use O_CLOEXEC / SOCK_CLOEXEC for almost all file descriptors. | Richard W.M. Jones | 2012-03-14 | 1 | -1/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | The presumption is that all file descriptors should be created with the close-on-exec flag set. The only exception are file descriptors that we want passed through to exec'd subprocesses (mainly pipes and stdin/stdout/stderr). For open calls, we pass O_CLOEXEC as an extra flag, eg: fd = open ("foo", O_RDONLY|O_CLOEXEC); This is a Linux-ism, but using a macro we can easily make it portable. For sockets, similarly: sock = socket (..., SOCK_STREAM|SOCK_CLOEXEC, ...); For accepted sockets, we use the Linux accept4 system call which allows flags to be supplied, but we use the Gnulib 'accept4' module to make this portable. For dup, dup2, we use the Linux dup3 system call, and the Gnulib modules 'dup3' and 'cloexec'. | ||||
* | Do not run appliance-related checks if not building appliance | Hilko Bengen | 2012-01-23 | 1 | -0/+2 |
| | |||||
* | Replace setting of environment variables with usage of local run script | Hilko Bengen | 2012-01-23 | 1 | -3/+1 |
| | | | | (Includes fix by RWMJ) | ||||
* | Tempus fugit. | Richard W.M. Jones | 2012-01-18 | 6 | -7/+7 |
| | | | | Update all copyright dates to 2012. | ||||
* | fish options parsing: Allow add_drives to be called multiple times. | Richard W.M. Jones | 2012-01-18 | 2 | -6/+4 |
| | | | | | | Ensure that the drv structure is always zeroed on allocation. Don't leak old drv->device when add_drives is called multiple times. | ||||
* | tests: Split images -> tests/data + tests/guests | Richard W.M. Jones | 2011-12-22 | 3 | -6/+6 |
| | |||||
* | filesystems: Fix memory leak found by valgrind. | Richard W.M. Jones | 2011-11-24 | 1 | -1/+3 |
| | |||||
* | Update FSF address. | Matthew Booth | 2011-11-08 | 7 | -7/+7 |
| | |||||
* | virt-filesystems: Add MBR partition type byte to the output. | Richard W.M. Jones | 2011-10-25 | 2 | -12/+64 |
| | | | | | | | | | | | | | This adds an extra column containing this information, looking like this: Name Type VFS Label MBR Size Parent /dev/sda1 filesystem ntfs - - 6.0G - /dev/sda1 partition - - 07 6.0G /dev/sda /dev/sda device - - - 6.0G - In particular you can use this to tell if a partition is an extended partition, because the field will contain '05' or '0f'. | ||||
* | virt-cat: Handle Windows paths and drive letters (RHBZ#693359). | Richard W.M. Jones | 2011-10-25 | 2 | -3/+180 |
| | |||||
* | cat: Small documentation correction. | Richard W.M. Jones | 2011-08-28 | 1 | -2/+1 |
| | |||||
* | man pages: Add a standard EXIT STATUS section to most pages. | Richard W.M. Jones | 2011-08-27 | 3 | -0/+15 |
| | |||||
* | out-of-tree build: fix documentation generation | Hilko Bengen | 2011-08-15 | 1 | -3/+3 |
| | |||||
* | build: Set TMPDIR for local testing. | Richard W.M. Jones | 2011-08-08 | 1 | -1/+2 |
| | | | | | | This avoids conflicts with the globally installed libguestfs appliance, or lets us build in multiple local directories at the same time without conflicts. | ||||
* | docs: Separate out combined =item 's in man pages. | Richard W.M. Jones | 2011-07-16 | 1 | -2/+6 |
| | | | | | | | | | | | | | | | Turn: =item B<-a> | B<--all> into: =item B<-a> =item B<--all> This gives a more natural-looking manual page, as well as making it easier to directly link to these sections. | ||||
* | virt-ls: Add virt-ls -lR option for complex file iteration. | Richard W.M. Jones | 2011-06-04 | 3 | -36/+1133 |
| | |||||
* | virt-ls: Refactor mode selection code. | Richard W.M. Jones | 2011-06-04 | 1 | -77/+123 |
| | | | | This is just code motion. | ||||
* | virt-ls: Small fix for output of --help option. | Richard W.M. Jones | 2011-06-04 | 1 | -1/+1 |
| | |||||
* | Enable deprecation warnings on all C programs. | Richard W.M. Jones | 2011-05-17 | 1 | -0/+3 |
| | |||||
* | fish: Allow -d UUID (specify libvirt domains by UUID). | Richard W.M. Jones | 2011-05-06 | 3 | -3/+6 |
| | | | | | | | | | | | | | | This applies in all the commands which use the common C option parsing code, ie: * guestfish * guestmount * virt-cat * virt-df * virt-filesystems * virt-inspector * virt-ls * virt-rescue | ||||
* | doc: Use I<-...> for cross-references to command line options. | Richard W.M. Jones | 2011-05-01 | 1 | -2/+2 |
| | | | | This is now used consistently across all the documentation. | ||||
* | Remove ad-hoc run*locally scripts, replace with './run' | Richard W.M. Jones | 2011-04-16 | 4 | -160/+0 |
| | | | | | Remove all the run*locally scripts and replace with a single top level ./run shell script. | ||||
* | Add more missing include directives. | Jim Meyering | 2011-04-13 | 3 | -3/+9 |
| | | | | | | * cat/virt-cat.c: Include string.h and libintl.h. * cat/virt-filesystems.c: Likewise. * cat/virt-ls.c: Likewise. | ||||
* | cat, edit: Reference guestfish equivalent commands in the manual pages. | Richard W.M. Jones | 2011-04-05 | 1 | -2/+26 |
| | |||||
* | Add /etc/libguestfs-tools.conf configuration file. | Richard W.M. Jones | 2011-03-31 | 1 | -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. Jones | 2011-03-07 | 3 | -0/+3 |
| | | | | Fix required by gcc 4.6.0. | ||||
* | fish: Add guestfish --live, guestmount --live options. | Richard W.M. Jones | 2011-02-03 | 3 | -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. Jones | 2011-01-08 | 1 | -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. Jones | 2011-01-03 | 1 | -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. Jones | 2011-01-02 | 1 | -0/+54 |
| | |||||
* | Remove several unused local variables. | Richard W.M. Jones | 2010-12-10 | 1 | -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. Jones | 2010-12-09 | 2 | -4/+0 |
| | |||||
* | Remove ability to build static distribution. | Richard W.M. Jones | 2010-12-06 | 1 | -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. Jones | 2010-11-27 | 1 | -1/+1 |
| | |||||
* | docs: Remove ref to L</add-drive-opts> wrongly copied into some man pages. | Richard W.M. Jones | 2010-11-27 | 3 | -6/+3 |
| | |||||
* | build: Centralize all POD manipulation in 'podwrapper.sh' script. | Richard W.M. Jones | 2010-11-24 | 1 | -44/+28 |
| | |||||
* | filesystems: Fix command synopsis in usage message. | Richard W.M. Jones | 2010-11-23 | 1 | -2/+2 |
| | | | | This updates commit fbc2555903be8c88ad9430d871cf0d27c8fded1e. | ||||
* | New tool: virt-filesystems | Richard W.M. Jones | 2010-11-23 | 5 | -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. Jones | 2010-11-23 | 5 | -7/+685 |
| | |||||
* | cat: Fix documentation of -x option in usage. | Richard W.M. Jones | 2010-11-22 | 1 | -1/+1 |
| | | | | This updates commit d29e9a552f5823d1d8cb8d4962cb1301bbf60b0e. | ||||
* | cat: Continue after encountering an error. | Richard W.M. Jones | 2010-11-22 | 1 | -2/+4 |
| | |||||
* | cat: Fix documentation for command line with format option. | Richard W.M. Jones | 2010-11-22 | 1 | -2/+2 |
| | |||||
* | cat: Fix run-cat-locally script so it doesn't go via Perl. | Richard W.M. Jones | 2010-11-19 | 1 | -1/+1 |
| | |||||
* | cat: Give a better error if the user specified no drives on command line. | Richard W.M. Jones | 2010-11-19 | 1 | -0/+4 |
| |