summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* generator: Use shortname in check_state() call.Richard Jones2010-04-171-1/+2
| | | | Saves a tiny bit of space in the library.
* Build top-level directories in a more logical order.Richard Jones2010-04-171-14/+20
|
* Rerun generator if images/test.iso does not exist or has been updated.Richard Jones2010-04-171-1/+4
| | | | | The MD5 hash of this file is embedded in the output of the generator.
* Fix upload losing synchronization if root not mounted (RHBZ#576879).Richard Jones2010-04-1711-64/+92
| | | | | | | | | | | | Modify the generator so that it can correctly handle early cancellation for Pathname|Device|.. parameters. This fixes the upload command, but consequently we need to fix the parameters for tar_in and t?z_in commands. This should also mean that 'win:' can now be used as the second argument of tar_in and t?z_in commands in guestfish, whereas previously this wouldn't have worked. Adds a regression test for the original problem.
* generator: Fix typo in a comment.Richard Jones2010-04-171-1/+1
|
* Improved checking, documentation of modes (RHBZ#582901, RHBZ#582929).Richard Jones2010-04-175-6/+42
| | | | | | | | | | | chmod: Disallow negative mode, document mode affected by umask. mkdir-mode: Disallow negative mode, document that filesystems may interpret the mode in different ways. mknod: Disallow negative mode, document mode affected by umask. umask: Check the range of umask mask value carefully.
* fish: Autocomplete 'sparse' command (RHBZ#582899).Richard Jones2010-04-171-0/+1
| | | | | I also rechecked the list of built-in commands against the actual commands to make sure no others were omitted.
* New API: get-umask, returns the current umask (RHBZ#582891).Richard Jones2010-04-173-2/+28
|
* Add a build test for the 'umask' command.Richard Jones2010-04-171-3/+2
|
* fish: Print output from some commands in octal/hex as approp. (RHBZ#583242).Richard Jones2010-04-172-6/+36
|
* Documentation: lvcreate should say 'logical volume' (RHBZ#582953)Richard Jones2010-04-171-2/+2
|
* Update Spanish translations (RHBZ#582252).Daniel Cabrera2010-04-141-556/+1291
|
* Fix build error in fuse/guestmount.c.Matthew Booth2010-04-141-0/+1
| | | | | | | | guestmount.c: In function 'main': guestmount.c:899: error: implicit declaration of function 'setlocale' [-Wimplicit-function-declaration] guestmount.c wasn't including locale.h.
* New API: Add aug-clear call for clearing an Augeas node.Richard Jones2010-04-133-2/+34
|
* fish: Allow '-' prefix on command line to override exit on error (RHBZ#578407).Richard Jones2010-04-133-2/+57
| | | | | | | | | | | | | | | Allow -cmd on the command line to mean that normal exit on error behaviour is overridden, ie. we will not exit. This allows you to do: guestfish -- command : -command : command with the second command allowing errors. (Note that '--' is required to stop getopt parsing -command as an option). Also this fixes the remote case which is what the original bug report was about.
* fish: Update documentation: Add another pipe example.Richard Jones2010-04-131-0/+1
|
* fish: Update documentation: Using 'lcd' command to change local directory.Richard Jones2010-04-131-0/+3
|
* Update PO files.1.3.3Richard Jones2010-04-1212-5910/+5250
|
* Prepare for version 1.3.3.Richard Jones2010-04-121-1/+1
|
* resize: Add --LV-expand option for expanding Linux LVs.Richard Jones2010-04-121-2/+122
|
* New API: lvresize-free to extend LVs into percentage of free space.Richard Jones2010-04-123-1/+42
|
* Fix time and timezone to be correct within the appliance.Richard Jones2010-04-122-1/+12
|
* resize: Fix missing newline from end of print.Richard Jones2010-04-121-1/+1
|
* resize: Fix regular expression to exactly match ^ext[234]$Richard Jones2010-04-121-1/+1
|
* virt-resize: Mention alternate tools like gparted in the documentation.Richard Jones2010-04-121-0/+17
|
* Updated Spanish translation (RHBZ#581501).Daniel Cabrera2010-04-121-560/+1294
|
* Documentation updates.Richard Jones2010-04-1116-20/+37
| | | | | | | Fix copyright years. Fix URLs to point to new PRC site. Make sure guestfish(1) and guestfs(3) manpages reference the current list of tools.
* Version 1.3.21.3.2Richard Jones2010-04-1013-5174/+5638
|
* New API: checksum-device for checksumming devices.Richard Jones2010-04-103-13/+35
| | | | Analogous to the usual 'checksum' call.
* virt-resize: Enhance virt-resize so it can expand partition content.Richard Jones2010-04-101-48/+273
| | | | | | | | | Enhance virt-resize so it can expand "first level" partition content, including ext/2/3/4/ntfs filesystems and PVs. Also extensively update the documentation. This has been tested on a variety of Linux and Windows guests.
* virt-list-partitions: Add -t / --total option.Richard Jones2010-04-101-20/+56
| | | | | | | | | This option lists out block devices separately: $ virt-list-partitions -lht /tmp/WindowsResized.img /dev/sda1 ntfs 100.0M /dev/sda2 ntfs 11.9G /dev/sda device 12.0G
* Bugfixes for virt-resize.Richard Jones2010-04-101-19/+69
| | | | | | | | | - copy more than 64 boot loader sectors across, since real boot loaders (eg. for Windows) can be much larger than this - copy bootable flag and ID byte to new partitions - start the first partition on the new disk at the same sector offset as on the old disk - sync the disks before existing
* New partition APIs: part_del, part_get_bootable, part_get/set_mbr_idRichard Jones2010-04-103-1/+157
| | | | These APIs flesh out further the partitioning API.
* daemon: More reliable parsing of the output from 'parted print'.Richard Jones2010-04-101-19/+33
| | | | | | | | Previously we used strtok. However this has the problem that strtok considers multiple delimiter characters to be like a single delimiter, eg. "1:::2" would be parsed the same as "1:2". In other words, the previous code would skip over or fail if there are empty fields.
* daemon: Make the RUN_PARTED macro take an error statement.Richard Jones2010-04-101-7/+9
| | | | | This allows us to make the RUN_PARTED macro do something else along the error path, other than just returning -1.
* Documentation: Clarify documentation on the bootable flag.Richard Jones2010-04-101-4/+3
|
* New API: vgscanRichard Jones2010-04-102-0/+26
| | | | | Implement vgscan to allow for a full rescan of all LVM PVs, VGs and LVs.
* New API: ntfsresize.Richard Jones2010-04-102-0/+31
| | | | | This implements the ntfsresize operation, using the external program from ntfsprogs.
* virt-make-fs: Use Sys::Guestfs::Lib::feature_available helper function.Richard Jones2010-04-101-2/+3
|
* Allow aug-ls to take Augeas variable as argument (RHBZ#580016).Richard Jones2010-04-091-4/+5
|
* Remove warning "No grub default" (RHBZ#580650).Richard Jones2010-04-081-3/+0
|
* If qemu dies during launch in "null vmchannel" mode, don't hang (RHBZ#579155).Richard Jones2010-04-081-1/+9
| | | | | | Detect if qemu dies during launch by wait(2)-ing for it, and then getting EOF on the qemu pipe. This was broken in null vmchannel mode, causing a hang.
* Don't kill self accidentally.Richard Jones2010-04-081-3/+3
| | | | | | Always check that pid > 0 before calling kill (pid, 9). The issue was that sometimes pid == 0, and this ends up killing ourselves.
* Fix for "warning: unexpected connection from UID ..."Richard Jones2010-04-081-0/+1
| | | | | | | | This warning is currently a fatal error. The code attempts to retry the accept call, but because we don't reset sock = -1 the retry doesn't happen and it dies anyway. Set sock = -1 so the retry attempt can happen.
* New API calls to upload/download txz files (RHBZ#580556).Richard Jones2010-04-086-9/+59
|
* configure: Default to using Fedora 12 repo (was Fedora 11).Richard Jones2010-04-081-4/+4
| | | | Fedora 11 is almost EOL at this point.
* Version 1.3.1.1.3.1Richard Jones2010-04-0813-5439/+5594
|
* New tool: virt-make-fs for creating filesystems on devices.Richard Jones2010-04-086-0/+627
|
* Code cleanups related to RHBZ#580246.Richard Jones2010-04-086-24/+80
| | | | | | | | | | | | | | This includes various code cleanups: (a) A regression test for RHBZ#580246. (b) Use write instead of fwrite to write out the tar file. This is just because the error handling of write seems to be better specified and easier to use. (c) Use size_t instead of int for length. (d) Clearer debug messages when in verbose mode.
* Fix tar-in command hangs when running out of disk space (RHBZ#580246).Richard Jones2010-04-082-3/+6
| | | | | | | | | | | | | | | | | | | | The problem was this sequence of events: (1) File transfer goes through OK. (2) pclose returns failure (because 'tar' subprocess failed) (3) We try to cancel the transfer by calling cancel_receive. Step (3) fails because the transfer (as far as the library is concerned) has succeeded, so causing a hang. The more fundamental reason why we see steps (1) and (2) is that 'tar' does NOT fail immediately if there is a write error. Instead it continues reading and discarding the input until the end of the input before giving "Error exit delayed from previous errors". IMHO this is a bug with tar, since an ENOSPC write error should be fatal for tar.