summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Version 1.5.20.1.5.20Richard W.M. Jones2010-09-2617-13092/+12631
|
* New API: pwrite-deviceRichard W.M. Jones2010-09-263-11/+54
| | | | | This is the same as the existing 'pwrite' API call, but allows you to write to a device.
* pwrite: Check offset is not negative.Richard W.M. Jones2010-09-261-0/+5
|
* fish: Refresh guestfish documentation.Richard W.M. Jones2010-09-261-25/+48
|
* Document ambiguity between devices and paths in API.Richard W.M. Jones2010-09-261-0/+31
|
* Document accurately how supermin appliance uses /tmp as a cache.Richard W.M. Jones2010-09-242-6/+6
|
* Allow $TMPDIR to override most temporary directory uses.Richard W.M. Jones2010-09-2412-31/+58
| | | | | | | Be more consistent in allowing the user to override use of the temporary directory by specifying $TMPDIR. Also prefer P_tmpdir macro (defined in <stdio.h>) if that is defined, rather than hard-coding "/tmp" for the fallback location.
* Call blockdev --rereadpt then udev_settle after sfdisk commands.Richard W.M. Jones2010-09-241-3/+6
| | | | | | | This updates commit 956fc5a3feacc970ea763697bf28fb686c875408 so that we call udev_settle after rereading the partition table. This ensures that the devices nodes for the new partitions have been created.
* Update Spanish translations (RHBZ#636918).Daniel Cabrera2010-09-231-855/+1676
|
* Update Polish translations (RHBZ#502533).Piotr Drąg2010-09-231-332/+86
|
* Version 1.5.19.1.5.19Richard W.M. Jones2010-09-2216-18/+18
|
* regressions: Test just-built guestfish.Richard W.M. Jones2010-09-222-2/+3
| | | | | | Instead of testing the installed /usr/bin/guestfish. This fixes commit ddda0f7bd00a37274dae38f4ce93955b8cfdf7d7.
* Call blockdev --rereadpt after sfdisk commands.Richard W.M. Jones2010-09-221-1/+13
| | | | | | | | | | | | On fast machines sfdisk has some sort of race where it fails to re-read the partition table it has just created (it's not clear if this is a race in sfdisk, the kernel or some other component). This commit works around the problem by calling blockdev --rereadpt after sfdisk operations, which experience shows is enough to stop the problem from happening.
* Version 1.5.18.1.5.18Richard W.M. Jones2010-09-2216-18/+24
|
* Test guestfish -a and guestfish -d options.Richard W.M. Jones2010-09-223-0/+82
| | | | | Since these options were both broken in released version 1.5.17, best to have a regression test to catch this in future.
* appliance: Ignore unreadable dbus service file (Fedora 15).Richard Jones2010-09-221-0/+1
|
* fish: Fix segfault in free_drives() function.Richard W.M. Jones2010-09-221-2/+2
| | | | | This updates commit 8ea62c8d7f3f7f7e4057b93105cf979271aa13f4 so it doesn't try to free the optarg (stack-allocated) strings.
* Version 1.5.17.1.5.17Richard W.M. Jones2010-09-2117-16248/+16924
|
* Update release notes for new features in 1.5 branch.Richard W.M. Jones2010-09-211-0/+121
|
* fish: Implement 'hexedit' command.Richard W.M. Jones2010-09-216-1/+239
|
* New APIs: upload-offset and download-offsetRichard W.M. Jones2010-09-213-4/+162
| | | | | These APIs allow you to efficiently write and read parts of files or devices.
* leak: Clear history before exiting guestfish.Richard W.M. Jones2010-09-211-0/+1
| | | | | | | | | Clear the in-memory history before exiting. This removes some but not all memory leaks associated with using the GNU History library. As far as I can tell it is not possible to free up everything used by GNU History. (Found by valgrind).
* leak: Free list of drives and mountpoints in guestfish.Richard W.M. Jones2010-09-213-2/+53
| | | | | | | | | | Previously the list of -a, -d, -m, -N parameters were leaked. This change frees them explicitly. This is not such an important fix since guestfish is a one-shot program, but it aids in finding other leaks in future. (Found by valgrind).
* leak: Free PCRE regexps when library is unloaded.Richard W.M. Jones2010-09-211-0/+18
| | | | | | | The compiled PCRE regexps used for inspection were being leaked when the library was unloaded. (Found by valgrind).
* leak: Appliance name was leaked during guestfs_launch.Richard W.M. Jones2010-09-211-0/+2
| | | | | | | This frees the string containing the name of the appliance which was previously being leaked during launch. (Found by valgrind).
* Add more exclusions to .gitignore.Matthew Booth2010-09-211-0/+2
|
* Fix appliance build dependency problemMatthew Booth2010-09-212-5/+1
| | | | | | | | | | The appliance was being completely rebuilt every time guestfsd was updated. This was because make.sh depended on guestfsd, which it had to do because it called update.sh to install guestfsd. This fix removes the call to update.sh in make.sh, and therefore the dependency on guestfsd. The Makefile already includes a rule to run update.sh when guestfsd is updated, so this was unnecessary.
* fish: Add --echo-keys option to allow passphrases/keys to be echoed.Richard W.M. Jones2010-09-212-8/+22
| | | | | See also: http://catless.ncl.ac.uk/Risks/26.17.html#subj13.3
* df: Add --one-per-guest option for using one appliance per guest.Richard W.M. Jones2010-09-201-44/+98
|
* Fix error launching libguestfs when euid != uid.Richard W.M. Jones2010-09-201-25/+108
| | | | | | | | | | | | | | | | | When writing to a RHEV target, virt-v2v launches the libguestfs appliance with euid:egid = 36:36, which is required to write to an NFS target using root_squash. Since we changed to using a cached appliance, this causes an error on start up, as the cached files are owned by root, but the cache directory is owned by 36:36. The reason is that bash resets euid to uid and egid to gid so when febootstrap-supermin-helper is executed, it runs as root:root. The cache directory was created by libguestfs directly so it has the correct ownership. This patch fixes the issue by using explicit fork/exec instead of system (ie. not going via a shell) and by setting the real UID and GID to the effective UID and GID before execing.
* todo: Suggest removing repo name from appliance name.Richard W.M. Jones2010-09-201-0/+6
|
* generator: Generate guestfish-only commands.Richard W.M. Jones2010-09-1828-1677/+1624
| | | | | | The guestfish-only commands such as 'alloc' and 'edit' are now generated from one place in the generator instead of being spread around ad-hoc in the C code.
* fish: In guestfish(1) turn command references into links.Richard W.M. Jones2010-09-181-1/+1
|
* fish: Correction for online help for 'edit' and 'more' commands.Richard W.M. Jones2010-09-171-8/+2
| | | | | This corrects commit b5c287bcd456bdb02d8ec0443483df34f4fd6b5d and commit 639ca1828b167bf59353f0cd3c8c79c6289bbd5d.
* Version 1.5.16.1.5.16Richard Jones2010-09-1516-564/+629
|
* configure: Make "fedora-13" the default repository.Richard Jones2010-09-151-2/+2
|
* fish: If -m option fails, suggest a mountpoint.Richard Jones2010-09-152-5/+15
|
* todo: Remove section since we now have list-filesystems API.Richard Jones2010-09-151-4/+0
|
* Version 1.5.15.1.5.15Richard Jones2010-09-1517-9405/+9845
|
* New API: list-filesystems: list filesystemsRichard Jones2010-09-152-4/+180
| | | | | | | | | | | | | | | | | | This API is a simpler replacement for the guestfish commands list-devices / list-partitions / lvs, in the case where you are just examining a guest by hand to see what it contains. Typical usage and output in guestfish is like this: $ guestfish --ro -a /dev/vg_trick/F13x64 ><fs> run ><fs> list-filesystems /dev/vda1: ext4 /dev/vg_f13x64/lv_root: ext4 /dev/vg_f13x64/lv_swap: swap It can also be used to replace programs that try to mount devices to determine if they are mountable filesystems.
* New API: part-to-dev: Convert partition name to device name.Richard Jones2010-09-153-1/+42
| | | | | This adds a formal API for going from a partition to the containing device, eg. /dev/sda1 -> /dev/sda
* generator: Add TestOutputDevice.Richard Jones2010-09-153-0/+20
| | | | | | This is for testing functions that return a device or partition name, so that we can compare the return value with the canonical device name (eg. "/dev/vda1" == "/dev/sda1").
* todo: More use of libblkid.Richard Jones2010-09-151-0/+12
|
* fish: In usage message use new-style -i option syntax.Richard Jones2010-09-141-2/+2
|
* fish: Update copyright dates in usage message.Richard Jones2010-09-141-1/+1
|
* fish: Remove extraneous space from usage message.Richard Jones2010-09-141-1/+1
|
* todo: More ideas.Richard Jones2010-09-141-0/+9
|
* Version 1.5.14.1.5.14Richard Jones2010-09-1416-1627/+831
|
* configure: Check for virtio-serial support in qemu.Richard Jones2010-09-141-35/+9
| | | | | | All other vmchannel methods are obsolete, but we were still trying to check for them. This replaces all of them with a simple check for virtio-serial.
* pardus: Check for cpio in configure.Richard Jones2010-09-141-0/+5
|